結果
問題 |
No.1131 Deviation Score
|
ユーザー |
|
提出日時 | 2021-06-20 02:30:20 |
言語 | Swift (6.0.3) |
結果 |
WA
|
実行時間 | - |
コード長 | 156 bytes |
コンパイル時間 | 856 ms |
コンパイル使用メモリ | 129,144 KB |
実行使用メモリ | 15,052 KB |
最終ジャッジ日時 | 2024-06-22 22:23:57 |
合計ジャッジ時間 | 3,221 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 1 WA * 20 |
ソースコード
let n = readLine() let x = readLine()!.split(separator: " ").map{Int($0)!} let a = x.reduce(0) {$0 + $1} / x.count for i in x{ print(50 - (a - i) / 2) }