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