結果
| 問題 | No.609 Noelちゃんと星々 |
| コンテスト | |
| ユーザー |
Konton7
|
| 提出日時 | 2019-05-11 14:53:54 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 202 bytes |
| 記録 | |
| コンパイル時間 | 334 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 43,180 KB |
| 最終ジャッジ日時 | 2026-03-23 05:07:04 |
| 合計ジャッジ時間 | 79,698 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 25 |
ソースコード
n= int(input())
height_list = [ int(v) for v in input().split() ]
mins = 10**15
for j in height_list:
move_list = [ abs(i - j) for i in height_list]
mins = min(sum(move_list),mins)
print(mins)
Konton7