結果
問題 | No.1934 Four Fruits |
ユーザー |
![]() |
提出日時 | 2022-05-13 21:29:02 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 36 ms / 2,000 ms |
コード長 | 380 bytes |
コンパイル時間 | 207 ms |
コンパイル使用メモリ | 81,968 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-07-22 01:00:51 |
合計ジャッジ時間 | 1,064 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
import sys input = sys.stdin.readline def MI(): return map(int, input().split()) a, b, c = MI() if a == b == c: print(a) elif a != b and b != c and c != a: tmp = [a, b, c] for i in range(4): if i in tmp: continue else: print(i) else: if a == b: print(c) elif b == c: print(a) else: print(b)