結果

問題 No.2315 Flying Camera
ユーザー dangodango
提出日時 2023-06-24 19:19:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 673 ms / 2,000 ms
コード長 183 bytes
コンパイル時間 398 ms
コンパイル使用メモリ 86,992 KB
実行使用メモリ 79,192 KB
最終ジャッジ日時 2023-09-14 15:03:35
合計ジャッジ時間 12,369 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
77,944 KB
testcase_01 AC 138 ms
78,476 KB
testcase_02 AC 144 ms
78,364 KB
testcase_03 AC 455 ms
78,748 KB
testcase_04 AC 597 ms
78,676 KB
testcase_05 AC 519 ms
79,192 KB
testcase_06 AC 355 ms
78,944 KB
testcase_07 AC 615 ms
78,248 KB
testcase_08 AC 295 ms
77,844 KB
testcase_09 AC 179 ms
78,036 KB
testcase_10 AC 315 ms
78,236 KB
testcase_11 AC 606 ms
78,568 KB
testcase_12 AC 220 ms
78,128 KB
testcase_13 AC 170 ms
77,968 KB
testcase_14 AC 630 ms
78,024 KB
testcase_15 AC 479 ms
78,508 KB
testcase_16 AC 406 ms
78,152 KB
testcase_17 AC 285 ms
78,156 KB
testcase_18 AC 621 ms
78,068 KB
testcase_19 AC 488 ms
77,992 KB
testcase_20 AC 264 ms
78,236 KB
testcase_21 AC 370 ms
78,244 KB
testcase_22 AC 246 ms
78,964 KB
testcase_23 AC 126 ms
78,048 KB
testcase_24 AC 673 ms
78,800 KB
testcase_25 AC 123 ms
77,892 KB
testcase_26 AC 637 ms
77,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, T = range(int(input())), range(90000)
X = [list(map(int, input().split())) for i in N]
print(min([sum([abs(z[0] - x // 300 - 1) + abs(z[1] - x % 300 + 1) for z in X]) for x in T]))
0