結果

問題 No.3108 Luke or Bishop
ユーザー yuma4869
提出日時 2025-04-19 10:52:00
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 117 bytes
コンパイル時間 519 ms
コンパイル使用メモリ 12,160 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2025-04-19 10:52:02
合計ジャッジ時間 2,685 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 16 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

gx,gy = map(int,input().split())

if gx == 0 and gy ==0:
	print(0)
elif abs(gx) == abs(gy):
	print(1)
else:
	print(2)
0