結果

問題 No.1412 Super Ryuo
ユーザー suiso11suiso11
提出日時 2021-02-28 21:27:50
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 156 bytes
コンパイル時間 168 ms
コンパイル使用メモリ 82,456 KB
実行使用メモリ 53,612 KB
最終ジャッジ日時 2024-04-12 10:25:49
合計ジャッジ時間 1,222 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
51,628 KB
testcase_01 AC 32 ms
53,004 KB
testcase_02 AC 31 ms
53,076 KB
testcase_03 AC 30 ms
52,080 KB
testcase_04 AC 30 ms
52,400 KB
testcase_05 AC 30 ms
52,136 KB
testcase_06 AC 30 ms
52,460 KB
testcase_07 AC 30 ms
52,188 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c,d = map(int,input().split())
a1 =abs(a)
b1 =abs(b)
c1 = abs(c)
d1 = abs(d)
if (c1 - a1)+(d1 - b1)<=3 or a == c or b == d:
  print(1)
else :
  print(2)
0