結果
| 問題 |
No.1047 Zero (Novice)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-25 10:42:50 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 123 bytes |
| コンパイル時間 | 177 ms |
| コンパイル使用メモリ | 82,212 KB |
| 実行使用メモリ | 53,432 KB |
| 最終ジャッジ日時 | 2024-09-25 09:20:27 |
| 合計ジャッジ時間 | 1,889 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 16 WA * 1 |
ソースコード
A, B = map(int, input().split())
if B == 0:
print(1)
else:
if A != -1:
print(-1)
else:
print(1)