結果

問題 No.1934 Four Fruits
ユーザー SidewaysOwl
提出日時 2022-05-13 21:22:41
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 147 bytes
コンパイル時間 176 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 52,352 KB
最終ジャッジ日時 2024-07-22 00:49:23
合計ジャッジ時間 1,181 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c = map(int,input().split())
abc = set([a,b,c])
if len(abc) == 1:
    print(a)
elif len(abc) == 3:
    print(6-sum(abc))
else:
    print(a^b^c)
0