結果

問題 No.1934 Four Fruits
ユーザー hir355hir355
提出日時 2022-05-13 21:21:43
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 88 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 268 ms
使用メモリ 75,824 KB
最終ジャッジ日時 2023-02-21 12:55:00
合計ジャッジ時間 2,099 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 86 ms
75,456 KB
testcase_01 AC 85 ms
75,756 KB
testcase_02 AC 84 ms
75,544 KB
testcase_03 AC 85 ms
75,764 KB
testcase_04 AC 86 ms
75,608 KB
testcase_05 AC 86 ms
75,824 KB
testcase_06 AC 86 ms
75,520 KB
testcase_07 AC 87 ms
75,804 KB
testcase_08 AC 88 ms
75,708 KB
testcase_09 AC 87 ms
75,544 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