Submission #1991944
Source Code Expand
N=int(input()) S=list(map(int, input().split())) T=[0]*8 for i in range(N): if S[i] < 400: T[0]+=1 elif S[i] < 800: T[1]+=1 elif S[i] < 1200: T[2]+=1 elif S[i] < 1600: T[3]+=1 elif S[i] < 2000: T[4]+=1 elif S[i] < 2400: T[5]+=1 elif S[i] < 2800: T[6]+=1 elif S[i] >= 3200: T[7]+=1 K=0 for i in range(8): if T[i] >= 1: K+=1 print(K,K+T[7])
Submission Info
Submission Time | |
---|---|
Task | C - Colorful Leaderboard |
User | Tosachi |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 480 Byte |
Status | WA |
Exec Time | 17 ms |
Memory | 3064 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 300 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | s1.txt, s2.txt, s3.txt |
All | in1.txt, in2.txt, in3.txt, in4.txt, in5.txt, s1.txt, s2.txt, s3.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
in1.txt | WA | 17 ms | 3064 KB |
in2.txt | AC | 17 ms | 3064 KB |
in3.txt | AC | 17 ms | 3064 KB |
in4.txt | AC | 17 ms | 3064 KB |
in5.txt | AC | 17 ms | 3064 KB |
s1.txt | AC | 17 ms | 3064 KB |
s2.txt | AC | 17 ms | 3064 KB |
s3.txt | AC | 17 ms | 3064 KB |