結果

問題 No.1412 Super Ryuo
ユーザー U SU S
提出日時 2021-02-28 21:26:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 32 ms / 2,000 ms
コード長 113 bytes
コンパイル時間 132 ms
コンパイル使用メモリ 82,088 KB
実行使用メモリ 53,568 KB
最終ジャッジ日時 2024-04-12 10:25:00
合計ジャッジ時間 1,179 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
52,624 KB
testcase_01 AC 30 ms
52,076 KB
testcase_02 AC 32 ms
52,440 KB
testcase_03 AC 32 ms
52,280 KB
testcase_04 AC 29 ms
52,076 KB
testcase_05 AC 30 ms
53,360 KB
testcase_06 AC 29 ms
52,840 KB
testcase_07 AC 28 ms
52,748 KB
testcase_08 AC 28 ms
52,988 KB
testcase_09 AC 29 ms
51,700 KB
testcase_10 AC 29 ms
53,568 KB
testcase_11 AC 30 ms
52,624 KB
testcase_12 AC 29 ms
51,952 KB
testcase_13 AC 29 ms
52,256 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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