結果
| 問題 |
No.609 Noelちゃんと星々
|
| コンテスト | |
| ユーザー |
Konton7
|
| 提出日時 | 2019-05-11 14:53:54 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 202 bytes |
| コンパイル時間 | 127 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 33,652 KB |
| 最終ジャッジ日時 | 2024-07-02 01:12:49 |
| 合計ジャッジ時間 | 7,416 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 24 |
ソースコード
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