結果

問題 No.1934 Four Fruits
ユーザー hir355hir355
提出日時 2022-05-13 21:21:43
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 256 ms
コンパイル使用メモリ 87,260 KB
実行使用メモリ 71,476 KB
最終ジャッジ日時 2023-09-29 06:18:05
合計ジャッジ時間 1,759 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,248 KB
testcase_01 AC 68 ms
71,380 KB
testcase_02 AC 68 ms
71,144 KB
testcase_03 AC 67 ms
71,332 KB
testcase_04 AC 66 ms
71,360 KB
testcase_05 AC 71 ms
71,408 KB
testcase_06 AC 68 ms
71,416 KB
testcase_07 AC 67 ms
71,332 KB
testcase_08 AC 67 ms
71,300 KB
testcase_09 AC 66 ms
71,476 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b, c = sorted(map(int, input().split()))
if a == b == c:
    print(a)
elif a == b:
    print(c)
elif b == c:
    print(a)
else:
    print(6 - a - b - c)
0