Submission #10231521


Source Code Expand

from collections import Counter
input()
rates = Counter(map(lambda a: int(a) // 400, input().split()))
over3199 = rates[8]
colors = len(rates) - bool(over3199)
print(max(1, colors), colors + over3199)

Submission Info

Submission Time
Task C - Colorful Leaderboard
User StorkKershaw
Language Python (3.4.3)
Score 0
Code Size 207 Byte
Status WA
Exec Time 20 ms
Memory 3316 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 300
Status
AC × 3
AC × 5
WA × 3
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 20 ms 3316 KB
in2.txt AC 20 ms 3316 KB
in3.txt WA 20 ms 3316 KB
in4.txt WA 20 ms 3316 KB
in5.txt AC 20 ms 3316 KB
s1.txt AC 20 ms 3316 KB
s2.txt AC 20 ms 3316 KB
s3.txt AC 20 ms 3316 KB