結果
問題 | No.1934 Four Fruits |
ユーザー | deepjuggling |
提出日時 | 2023-01-18 22:04:12 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 104 ms / 2,000 ms |
コード長 | 263 bytes |
コンパイル時間 | 354 ms |
コンパイル使用メモリ | 87,132 KB |
実行使用メモリ | 71,780 KB |
最終ジャッジ日時 | 2023-09-02 15:25:38 |
合計ジャッジ時間 | 2,554 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 99 ms
71,332 KB |
testcase_01 | AC | 99 ms
71,668 KB |
testcase_02 | AC | 99 ms
71,616 KB |
testcase_03 | AC | 98 ms
71,476 KB |
testcase_04 | AC | 99 ms
71,544 KB |
testcase_05 | AC | 98 ms
71,536 KB |
testcase_06 | AC | 98 ms
71,684 KB |
testcase_07 | AC | 98 ms
71,780 KB |
testcase_08 | AC | 97 ms
71,744 KB |
testcase_09 | AC | 104 ms
71,752 KB |
ソースコード
from collections import Counter a = list(map(int,input().split())) x = Counter(a) if len(x) == 1: print(a[0]) elif len(x) == 2: for i in x: if x[i] == 1: print(i) else: for i in range(4): if i not in a: print(i)