結果

問題 No.643 Two Operations No.2
ユーザー Mr.FukuMr.Fuku
提出日時 2018-08-09 22:24:48
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 121 bytes
コンパイル時間 286 ms
コンパイル使用メモリ 11,748 KB
実行使用メモリ 10,076 KB
最終ジャッジ日時 2023-10-24 12:55:24
合計ジャッジ時間 1,435 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,020 KB
testcase_01 AC 31 ms
10,020 KB
testcase_02 AC 29 ms
10,020 KB
testcase_03 AC 30 ms
10,020 KB
testcase_04 AC 28 ms
10,020 KB
testcase_05 AC 28 ms
10,020 KB
testcase_06 WA -
testcase_07 AC 28 ms
10,020 KB
testcase_08 WA -
testcase_09 AC 28 ms
10,020 KB
testcase_10 AC 28 ms
10,020 KB
testcase_11 AC 28 ms
10,020 KB
testcase_12 AC 28 ms
10,020 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x,y = map(int,input().split())

if x==y:
    print(0)
elif y==0:
    print(1)
elif x==0:
    print(2)
else:
    print(-1)
0