Submission #4066639
Source Code Expand
N = int(input()) a = list(map(int, input(). split())) count = 0 for k in range(9): b = [i for i in a if 400*(k -1) <= i < 400*k] if len(b) > 0: print(k) count += 1 print('{} {}'.format(count, count + min(8-count, len([i for i in a if 3200 <= i]))))
Submission Info
Submission Time | |
---|---|
Task | C - Colorful Leaderboard |
User | knwohar |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 284 Byte |
Status | WA |
Exec Time | 18 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 | 18 ms | 2940 KB |
in2.txt | WA | 18 ms | 3064 KB |
in3.txt | WA | 18 ms | 2940 KB |
in4.txt | WA | 18 ms | 3060 KB |
in5.txt | WA | 18 ms | 3060 KB |
s1.txt | WA | 18 ms | 2940 KB |
s2.txt | WA | 18 ms | 3060 KB |
s3.txt | WA | 18 ms | 3060 KB |