結果

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

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 86 ms
75,724 KB
testcase_01 AC 85 ms
75,312 KB
testcase_02 AC 86 ms
75,476 KB
testcase_03 AC 86 ms
75,404 KB
testcase_04 AC 86 ms
75,712 KB
testcase_05 AC 88 ms
75,560 KB
testcase_06 AC 87 ms
75,672 KB
testcase_07 AC 86 ms
75,544 KB
testcase_08 AC 85 ms
75,472 KB
testcase_09 AC 86 ms
75,484 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