結果
問題 |
No.1412 Super Ryuo
|
ユーザー |
|
提出日時 | 2021-03-01 00:29:02 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 42 ms / 2,000 ms |
コード長 | 260 bytes |
コンパイル時間 | 317 ms |
コンパイル使用メモリ | 82,408 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2024-10-03 00:31:44 |
合計ジャッジ時間 | 1,656 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
ソースコード
import sys input = lambda : sys.stdin.readline().rstrip() sys.setrecursionlimit(2*10**5+10) write = lambda x: sys.stdout.write(x+"\n") a,b,c,d = list(map(int, input().split())) if a==c or b==d or abs(a-c)+abs(b-d)<=3: ans = 1 else: ans = 2 print(ans)