結果

問題 No.643 Two Operations No.2
ユーザー pluto77
提出日時 2018-02-04 16:13:27
言語 Python2
(2.7.18)
結果
AC  
実行時間 11 ms / 2,000 ms
コード長 138 bytes
コンパイル時間 60 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-30 03:58:16
合計ジャッジ時間 780 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki643

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