結果

問題 No.1934 Four Fruits
ユーザー lloyz
提出日時 2022-05-13 21:22:34
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 29 ms / 2,000 ms
コード長 254 bytes
コンパイル時間 80 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-07-22 00:49:07
合計ジャッジ時間 897 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

L = list(map(int, input().split()))
L.sort()
if L[0] == L[1] == L[2]:
    print(L[0])
    exit()
if L[1] == L[2]:
    print(L[0])
    exit()
if L[0] == L[1]:
    print(L[2])
    exit()
for i in range(4):
    if i not in L:
        print(i)
        exit()
0