結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
52,912 KB
testcase_01 AC 44 ms
53,652 KB
testcase_02 AC 39 ms
51,900 KB
testcase_03 AC 40 ms
53,312 KB
testcase_04 AC 39 ms
53,008 KB
testcase_05 AC 39 ms
52,808 KB
testcase_06 AC 44 ms
52,968 KB
testcase_07 AC 41 ms
52,548 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())
a =abs(a)
b =abs(b)
c = abs(c)
d = abs(d)
if (c - a)+(d - b)<=3 or a == c or b == d:
  print(1)
else :
  print(2)
0