結果
問題 | No.1934 Four Fruits |
ユーザー |
![]() |
提出日時 | 2022-05-13 21:29:02 |
言語 | PyPy3 (7.3.8) |
結果 |
AC
|
実行時間 | 85 ms / 2,000 ms |
コード長 | 380 bytes |
コンパイル時間 | 1,009 ms |
使用メモリ | 75,888 KB |
最終ジャッジ日時 | 2023-02-21 13:12:48 |
合計ジャッジ時間 | 2,192 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge13 |
テストケース
テストケース表示入力 | 結果 | 実行時間 使用メモリ |
---|---|---|
testcase_00 | AC | 83 ms
75,628 KB |
testcase_01 | AC | 83 ms
75,484 KB |
testcase_02 | AC | 85 ms
75,708 KB |
testcase_03 | AC | 83 ms
75,888 KB |
testcase_04 | AC | 84 ms
75,620 KB |
testcase_05 | AC | 83 ms
75,640 KB |
testcase_06 | AC | 82 ms
75,532 KB |
testcase_07 | AC | 83 ms
75,776 KB |
testcase_08 | AC | 83 ms
75,376 KB |
testcase_09 | AC | 83 ms
75,460 KB |
ソースコード
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)