Submission #387562
Source Code Expand
N = int(input()) table = [0 for _ in range(6)] for _ in range(N): maxT, minT = map(float, input().split()) if maxT >= 35: table[0] += 1 if 30 <= maxT < 35: table[1] += 1 if 25 <= maxT < 30: table[2] += 1 if minT >= 25: table[3] += 1 if 0 <= maxT and minT < 0: table[4] += 1 if maxT < 0: table[5] += 1 print(table[0], table[1], table[2], table[3], table[4], table[5])
Submission Info
Submission Time | |
---|---|
Task | B - 真冬日?真夏日? |
User | yumechi |
Language | Python (3.2.3) |
Score | 100 |
Code Size | 458 Byte |
Status | AC |
Exec Time | 221 ms |
Memory | 8624 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, test_00.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt, test_10.txt, test_11.txt, test_12.txt, test_13.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample_01.txt | AC | 221 ms | 8500 KB |
00_sample_02.txt | AC | 134 ms | 8500 KB |
00_sample_03.txt | AC | 131 ms | 8624 KB |
test_00.txt | AC | 139 ms | 8592 KB |
test_01.txt | AC | 132 ms | 8496 KB |
test_02.txt | AC | 136 ms | 8524 KB |
test_03.txt | AC | 133 ms | 8500 KB |
test_04.txt | AC | 137 ms | 8496 KB |
test_05.txt | AC | 144 ms | 8540 KB |
test_06.txt | AC | 132 ms | 8500 KB |
test_07.txt | AC | 145 ms | 8500 KB |
test_08.txt | AC | 171 ms | 8500 KB |
test_09.txt | AC | 169 ms | 8500 KB |
test_10.txt | AC | 167 ms | 8496 KB |
test_11.txt | AC | 171 ms | 8500 KB |
test_12.txt | AC | 170 ms | 8500 KB |
test_13.txt | AC | 167 ms | 8500 KB |