結果

問題 No.1131 Deviation Score
ユーザー wesoweeenwesoweeen
提出日時 2021-07-14 22:41:36
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 107 ms / 2,000 ms
コード長 228 bytes
コンパイル時間 159 ms
コンパイル使用メモリ 10,648 KB
実行使用メモリ 15,156 KB
最終ジャッジ日時 2023-09-17 01:06:39
合計ジャッジ時間 2,812 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
9,676 KB
testcase_01 AC 17 ms
8,312 KB
testcase_02 AC 95 ms
14,324 KB
testcase_03 AC 51 ms
10,988 KB
testcase_04 AC 88 ms
13,824 KB
testcase_05 AC 42 ms
10,172 KB
testcase_06 AC 91 ms
14,172 KB
testcase_07 AC 51 ms
10,936 KB
testcase_08 AC 83 ms
13,652 KB
testcase_09 AC 41 ms
10,012 KB
testcase_10 AC 82 ms
13,304 KB
testcase_11 AC 85 ms
13,532 KB
testcase_12 AC 74 ms
12,816 KB
testcase_13 AC 92 ms
14,204 KB
testcase_14 AC 31 ms
9,380 KB
testcase_15 AC 29 ms
9,412 KB
testcase_16 AC 83 ms
13,672 KB
testcase_17 AC 41 ms
10,256 KB
testcase_18 AC 107 ms
15,156 KB
testcase_19 AC 16 ms
7,808 KB
testcase_20 AC 14 ms
7,872 KB
testcase_21 AC 14 ms
7,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    N = int(input())
    scores = [int(n) for n in input().split()]
    A = sum(scores) / N
    for x in range(N):
        D = int(50 - ((A - scores[x]) / 2))
        print(D)


if __name__ == '__main__':
    main()
0