結果

問題 No.643 Two Operations No.2
ユーザー flippergo
提出日時 2024-12-17 21:09:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 146 bytes
コンパイル時間 513 ms
コンパイル使用メモリ 82,444 KB
実行使用メモリ 53,576 KB
最終ジャッジ日時 2024-12-17 21:09:39
合計ジャッジ時間 1,998 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

x,y = map(int,input().split())
if x==y:
    print(0)
elif y==0:
    print(1)
elif x==0:
    print(2)
elif x+y==0:
    print(3)
else:
    print(-1)
0