結果

問題 No.1934 Four Fruits
ユーザー Akijin_007Akijin_007
提出日時 2022-05-13 21:22:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 259 bytes
コンパイル時間 346 ms
コンパイル使用メモリ 87,156 KB
実行使用メモリ 71,508 KB
最終ジャッジ日時 2023-09-29 06:19:27
合計ジャッジ時間 1,793 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,300 KB
testcase_01 AC 71 ms
71,328 KB
testcase_02 AC 70 ms
71,440 KB
testcase_03 AC 78 ms
71,328 KB
testcase_04 AC 69 ms
71,088 KB
testcase_05 AC 70 ms
71,216 KB
testcase_06 AC 71 ms
71,472 KB
testcase_07 AC 73 ms
71,308 KB
testcase_08 AC 71 ms
71,088 KB
testcase_09 AC 71 ms
71,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#int(input())
#map(int, input().split())
#list(map(int, input().split()))

a = list(map(int, input().split()))

a = sorted(a)

if a[0] == a[2]:
    print(a[0])
elif a[0] == a[1]:
    print(a[2])
elif a[1] == a[2]:
    print(a[0])
else:
    print(6 - sum(a))

0