結果

問題 No.1934 Four Fruits
ユーザー HiruHiru
提出日時 2022-09-15 10:35:00
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 17 ms / 2,000 ms
コード長 296 bytes
コンパイル時間 130 ms
コンパイル使用メモリ 10,776 KB
実行使用メモリ 7,936 KB
最終ジャッジ日時 2023-08-22 07:03:27
合計ジャッジ時間 1,198 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,936 KB
testcase_01 AC 17 ms
7,788 KB
testcase_02 AC 15 ms
7,860 KB
testcase_03 AC 16 ms
7,816 KB
testcase_04 AC 15 ms
7,844 KB
testcase_05 AC 17 ms
7,936 KB
testcase_06 AC 16 ms
7,784 KB
testcase_07 AC 15 ms
7,804 KB
testcase_08 AC 16 ms
7,840 KB
testcase_09 AC 16 ms
7,860 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c=map(int,input().split())
if a==b and a==c:
  d=a
elif a==b and a!=c:
    d=c 
elif a!=b and a==c:
    d=b
elif b==c and a!=b:
    d=a
elif a!=0 and b!=0 and c!=0:
    d=0
elif a!=1 and b!=1 and c!=1:
    d=1
elif a!=2 and b!=2 and c!=2:
    d=2
elif a!=3 and b!=3 and c!=3:
    d=3
print(d)
0