結果

問題 No.1412 Super Ryuo
ユーザー convexineqconvexineq
提出日時 2021-05-20 23:15:58
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 92 bytes
コンパイル時間 149 ms
コンパイル使用メモリ 82,420 KB
実行使用メモリ 53,248 KB
最終ジャッジ日時 2024-04-18 14:10:04
合計ジャッジ時間 1,378 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
53,016 KB
testcase_01 AC 33 ms
52,844 KB
testcase_02 AC 32 ms
53,180 KB
testcase_03 AC 33 ms
52,260 KB
testcase_04 AC 36 ms
52,344 KB
testcase_05 AC 35 ms
51,828 KB
testcase_06 AC 36 ms
53,248 KB
testcase_07 AC 36 ms
52,400 KB
testcase_08 AC 35 ms
52,124 KB
testcase_09 AC 34 ms
53,096 KB
testcase_10 AC 36 ms
52,212 KB
testcase_11 AC 36 ms
51,992 KB
testcase_12 AC 36 ms
52,416 KB
testcase_13 AC 35 ms
53,232 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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