結果

問題 No.1131 Deviation Score
ユーザー 平松奏哉平松奏哉
提出日時 2020-08-06 11:52:09
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 237 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 10,532 KB
実行使用メモリ 16,020 KB
最終ジャッジ日時 2023-09-10 12:26:06
合計ジャッジ時間 2,881 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
9,972 KB
testcase_01 AC 19 ms
8,504 KB
testcase_02 AC 110 ms
14,852 KB
testcase_03 AC 58 ms
11,288 KB
testcase_04 AC 100 ms
14,324 KB
testcase_05 AC 48 ms
10,692 KB
testcase_06 AC 106 ms
14,752 KB
testcase_07 AC 60 ms
11,344 KB
testcase_08 AC 94 ms
14,084 KB
testcase_09 AC 45 ms
10,528 KB
testcase_10 AC 91 ms
13,896 KB
testcase_11 AC 97 ms
13,992 KB
testcase_12 AC 84 ms
13,240 KB
testcase_13 AC 105 ms
14,660 KB
testcase_14 AC 35 ms
9,592 KB
testcase_15 AC 35 ms
9,616 KB
testcase_16 AC 98 ms
14,324 KB
testcase_17 AC 49 ms
10,652 KB
testcase_18 AC 120 ms
16,020 KB
testcase_19 AC 16 ms
7,948 KB
testcase_20 AC 15 ms
7,908 KB
testcase_21 AC 16 ms
7,924 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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))
0