結果

問題 No.1047 Zero (Novice)
ユーザー もりをもりを
提出日時 2020-05-08 21:31:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 70 ms / 2,000 ms
コード長 101 bytes
コンパイル時間 352 ms
コンパイル使用メモリ 86,616 KB
実行使用メモリ 71,248 KB
最終ジャッジ日時 2023-09-17 01:50:42
合計ジャッジ時間 2,687 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,248 KB
testcase_01 AC 68 ms
71,080 KB
testcase_02 AC 68 ms
71,100 KB
testcase_03 AC 70 ms
71,172 KB
testcase_04 AC 69 ms
71,176 KB
testcase_05 AC 69 ms
71,228 KB
testcase_06 AC 69 ms
71,164 KB
testcase_07 AC 68 ms
71,160 KB
testcase_08 AC 69 ms
71,160 KB
testcase_09 AC 68 ms
71,128 KB
testcase_10 AC 69 ms
71,008 KB
testcase_11 AC 68 ms
71,120 KB
testcase_12 AC 66 ms
71,004 KB
testcase_13 AC 66 ms
71,076 KB
testcase_14 AC 68 ms
71,208 KB
testcase_15 AC 68 ms
70,896 KB
testcase_16 AC 67 ms
70,900 KB
testcase_17 AC 67 ms
71,172 KB
testcase_18 AC 67 ms
71,048 KB
testcase_19 AC 67 ms
70,780 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b = map(int,input().split())
if b == 0:
    print(1)
elif a == -1:
    print(2)
else:
    print(-1)
0