結果
| 問題 | No.1412 Super Ryuo |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-09-15 06:54:05 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 25 ms / 2,000 ms |
| + 733µs | |
| コード長 | 144 bytes |
| 記録 | |
| コンパイル時間 | 64 ms |
| コンパイル使用メモリ | 80,828 KB |
| 実行使用メモリ | 54,528 KB |
| 最終ジャッジ日時 | 2026-09-15 06:54:08 |
| 合計ジャッジ時間 | 1,867 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 |
ソースコード
a, b, c, d = map(lambda s_: int(s_), input().split()) x = abs(a - c) y = abs(b - d) ans = 1 if x == 0 or y == 0 or x + y <= 3 else 2 print(ans)