結果
| 問題 | No.609 Noelちゃんと星々 |
| コンテスト | |
| ユーザー |
turner18_jp
|
| 提出日時 | 2017-12-12 03:42:12 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 168 bytes |
| 記録 | |
| コンパイル時間 | 92 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 21,904 KB |
| 最終ジャッジ日時 | 2024-11-30 22:05:09 |
| 合計ジャッジ時間 | 3,022 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 25 |
ソースコード
import math n = int(input()) scores = list(map(int, input().split())) mean = math.ceil(sum(scores) / n) total = 0 for i in scores: total += abs(mean-i) print(total)
turner18_jp