結果
| 問題 | No.1934 Four Fruits |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-06-05 23:40:18 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 94 ms / 2,000 ms |
| + 41µs | |
| コード長 | 220 bytes |
| 記録 | |
| コンパイル時間 | 295 ms |
| コンパイル使用メモリ | 21,596 KB |
| 実行使用メモリ | 15,788 KB |
| 最終ジャッジ日時 | 2026-09-01 10:18:14 |
| 合計ジャッジ時間 | 2,540 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
a,b,c=map(int,input().split())
s=[a,b,c]
t={a,b,c}
ans=0
if a==b==c:ans=a
elif len(t)==3:ans=6-(a+b+c)
else:
#print(ans)
if s.count(a)==1:ans=a
elif s.count(b)==1:ans=b
elif s.count(c)==1:ans=c
print(ans)