結果

問題 No.1047 Zero (Novice)
ユーザー yatsurugiyatsurugi
提出日時 2020-08-18 22:07:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 104 bytes
コンパイル時間 199 ms
コンパイル使用メモリ 82,464 KB
実行使用メモリ 53,836 KB
最終ジャッジ日時 2024-04-20 07:57:47
合計ジャッジ時間 1,787 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
51,876 KB
testcase_01 AC 38 ms
53,832 KB
testcase_02 AC 36 ms
52,380 KB
testcase_03 AC 37 ms
52,772 KB
testcase_04 AC 37 ms
51,872 KB
testcase_05 AC 38 ms
53,016 KB
testcase_06 AC 38 ms
52,308 KB
testcase_07 AC 38 ms
51,900 KB
testcase_08 AC 37 ms
53,012 KB
testcase_09 AC 39 ms
52,692 KB
testcase_10 AC 38 ms
52,340 KB
testcase_11 AC 37 ms
52,292 KB
testcase_12 AC 37 ms
53,112 KB
testcase_13 AC 37 ms
52,956 KB
testcase_14 AC 37 ms
53,836 KB
testcase_15 AC 38 ms
52,288 KB
testcase_16 AC 39 ms
53,556 KB
testcase_17 AC 38 ms
52,908 KB
testcase_18 AC 38 ms
52,812 KB
testcase_19 AC 38 ms
52,824 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b = map(int, input().split())

if b == 0:
    print(1)
elif a == -1:
    print(2)
else:
    print(-1)
0