Submission #378685


Source Code Expand

dinnerset = set()
N = int(input())
for _ in range(0, N):
               dinnerset.add(int(input()))
dinnerset.remove(max(dinnerset))
print(max(dinnerset))

Submission Info

Submission Time
Task B - 心配性な富豪、ファミリーレストランに行く。
User yumechi
Language Python (3.2.3)
Score 100
Code Size 161 Byte
Status AC
Exec Time 142 ms
Memory 8692 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 15
Set Name Test Cases
All random_1.txt, random_10.txt, random_2.txt, random_3.txt, random_4.txt, random_5.txt, random_6.txt, random_7.txt, random_8.txt, random_9.txt, small_1.txt, small_2.txt, small_3.txt, small_4.txt, small_5.txt
Case Name Status Exec Time Memory
random_1.txt AC 142 ms 8480 KB
random_10.txt AC 137 ms 8512 KB
random_2.txt AC 131 ms 8484 KB
random_3.txt AC 130 ms 8676 KB
random_4.txt AC 131 ms 8484 KB
random_5.txt AC 131 ms 8480 KB
random_6.txt AC 133 ms 8612 KB
random_7.txt AC 134 ms 8628 KB
random_8.txt AC 135 ms 8692 KB
random_9.txt AC 131 ms 8612 KB
sample_1.txt AC 130 ms 8480 KB
sample_2.txt AC 129 ms 8512 KB
sample_3.txt AC 130 ms 8536 KB
small_1.txt AC 132 ms 8480 KB
small_2.txt AC 129 ms 8480 KB
small_3.txt AC 128 ms 8484 KB
small_4.txt AC 128 ms 8484 KB
small_5.txt AC 127 ms 8640 KB