結果

問題 No.2315 Flying Camera
ユーザー 👑 p-adicp-adic
提出日時 2023-05-28 07:47:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 689 ms / 2,000 ms
コード長 159 bytes
コンパイル時間 975 ms
コンパイル使用メモリ 86,896 KB
実行使用メモリ 78,732 KB
最終ジャッジ日時 2023-08-27 05:14:37
合計ジャッジ時間 12,652 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 134 ms
77,816 KB
testcase_01 AC 144 ms
77,996 KB
testcase_02 AC 150 ms
78,052 KB
testcase_03 AC 468 ms
78,388 KB
testcase_04 AC 613 ms
78,424 KB
testcase_05 AC 535 ms
78,696 KB
testcase_06 AC 365 ms
78,724 KB
testcase_07 AC 619 ms
78,084 KB
testcase_08 AC 304 ms
77,860 KB
testcase_09 AC 190 ms
77,980 KB
testcase_10 AC 329 ms
78,040 KB
testcase_11 AC 625 ms
78,172 KB
testcase_12 AC 233 ms
77,980 KB
testcase_13 AC 184 ms
78,060 KB
testcase_14 AC 644 ms
77,908 KB
testcase_15 AC 490 ms
78,172 KB
testcase_16 AC 419 ms
78,116 KB
testcase_17 AC 297 ms
77,876 KB
testcase_18 AC 631 ms
77,880 KB
testcase_19 AC 510 ms
77,896 KB
testcase_20 AC 275 ms
78,100 KB
testcase_21 AC 386 ms
77,884 KB
testcase_22 AC 255 ms
78,568 KB
testcase_23 AC 133 ms
77,744 KB
testcase_24 AC 689 ms
78,732 KB
testcase_25 AC 131 ms
77,696 KB
testcase_26 AC 644 ms
77,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

I,R=input,range
N,T=R(int(I())),R(90000)
X=[list(map(int,I().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