結果
問題 |
No.1131 Deviation Score
|
ユーザー |
|
提出日時 | 2020-08-06 11:52:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 163 ms / 2,000 ms |
コード長 | 237 bytes |
コンパイル時間 | 103 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 17,320 KB |
最終ジャッジ日時 | 2024-06-28 03:45:26 |
合計ジャッジ時間 | 3,231 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 21 |
ソースコード
import math import sys #print('生徒数') n = int(input()) #print('点数') x = input() x_list = x.split() x_intlist = [int(s) for s in x_list] A = sum(x_intlist) / n for p in x_intlist: d = 50 - (A-p) / 2 print(math.floor(d))