Submission #2493381
Source Code Expand
input() s=list(map(int,input().split())) p=1 for i in s: p=(p<<i)|p print(bin(p).count("1"))
Submission Info
Submission Time | |
---|---|
Task | A - コンテスト |
User | alorie |
Language | Python (3.4.3) |
Score | 2 |
Code Size | 105 Byte |
Status | AC |
Exec Time | 17 ms |
Memory | 2940 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 2 / 2 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 00, 01, 02, 90, 91 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00 | AC | 17 ms | 2940 KB |
01 | AC | 17 ms | 2940 KB |
02 | AC | 17 ms | 2940 KB |
90 | AC | 17 ms | 2940 KB |
91 | AC | 17 ms | 2940 KB |