結果

問題 No.2315 Flying Camera
ユーザー dangodango
提出日時 2023-06-24 19:20:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 681 ms / 2,000 ms
コード長 177 bytes
コンパイル時間 846 ms
コンパイル使用メモリ 86,532 KB
実行使用メモリ 78,628 KB
最終ジャッジ日時 2023-09-14 15:04:46
合計ジャッジ時間 12,101 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
77,648 KB
testcase_01 AC 139 ms
77,852 KB
testcase_02 AC 144 ms
78,028 KB
testcase_03 AC 463 ms
78,316 KB
testcase_04 AC 597 ms
78,304 KB
testcase_05 AC 534 ms
78,464 KB
testcase_06 AC 359 ms
78,592 KB
testcase_07 AC 616 ms
77,984 KB
testcase_08 AC 301 ms
77,620 KB
testcase_09 AC 181 ms
77,784 KB
testcase_10 AC 321 ms
77,876 KB
testcase_11 AC 616 ms
78,236 KB
testcase_12 AC 226 ms
77,840 KB
testcase_13 AC 172 ms
77,864 KB
testcase_14 AC 634 ms
77,928 KB
testcase_15 AC 482 ms
78,172 KB
testcase_16 AC 413 ms
78,008 KB
testcase_17 AC 293 ms
77,900 KB
testcase_18 AC 621 ms
77,692 KB
testcase_19 AC 497 ms
77,928 KB
testcase_20 AC 266 ms
77,980 KB
testcase_21 AC 376 ms
77,884 KB
testcase_22 AC 246 ms
78,604 KB
testcase_23 AC 126 ms
77,808 KB
testcase_24 AC 681 ms
78,628 KB
testcase_25 AC 120 ms
77,448 KB
testcase_26 AC 637 ms
77,480 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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