結果
| 問題 | No.1934 Four Fruits |
| コンテスト | |
| ユーザー |
9Qpr_
|
| 提出日時 | 2022-05-13 21:29:02 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 25 ms / 2,000 ms |
| コード長 | 380 bytes |
| 記録 | |
| コンパイル時間 | 181 ms |
| コンパイル使用メモリ | 85,412 KB |
| 実行使用メモリ | 53,680 KB |
| 最終ジャッジ日時 | 2026-04-03 06:44:17 |
| 合計ジャッジ時間 | 1,051 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
import sys
input = sys.stdin.readline
def MI(): return map(int, input().split())
a, b, c = MI()
if a == b == c:
print(a)
elif a != b and b != c and c != a:
tmp = [a, b, c]
for i in range(4):
if i in tmp:
continue
else:
print(i)
else:
if a == b:
print(c)
elif b == c:
print(a)
else:
print(b)
9Qpr_