結果
問題 | No.8063 幅優先探索 |
ユーザー |
👑 |
提出日時 | 2021-08-29 16:45:06 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 2,000 ms |
コード長 | 137 bytes |
コンパイル時間 | 283 ms |
コンパイル使用メモリ | 82,148 KB |
実行使用メモリ | 53,032 KB |
最終ジャッジ日時 | 2024-11-22 06:41:07 |
合計ジャッジ時間 | 1,498 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
r, c = map(int, input().split()) sy, sx = map(int, input().split()) gy, gx = map(int, input().split()) print(abs(sy - gy) + abs(sx - gx))