結果

問題 No.1934 Four Fruits
ユーザー sysnote8main
提出日時 2023-05-07 17:46:50
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 253 bytes
コンパイル時間 413 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-11-24 17:19:25
合計ジャッジ時間 1,007 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 RE * 1
other AC * 4 RE * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

g = list(sorted(list(map(int,input().split()))))
bools = [False for i in range(4)]
for i in g:
	bools[i] = True
lg = bools.count(True)
if lg==1:
	print(g[0])
elif lg==2:
	if g[0]==g[1]:
		print(g[2])
	else:
		print(g[0])
else:
	print(bools.index(false))
0