結果

問題 No.1131 Deviation Score
ユーザー StarMatyanStarMatyan
提出日時 2020-11-28 21:57:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 172 ms / 2,000 ms
コード長 283 bytes
コンパイル時間 113 ms
コンパイル使用メモリ 10,668 KB
実行使用メモリ 14,972 KB
最終ジャッジ日時 2023-09-10 12:34:30
合計ジャッジ時間 3,360 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 50 ms
9,956 KB
testcase_01 AC 19 ms
8,412 KB
testcase_02 AC 152 ms
14,476 KB
testcase_03 AC 77 ms
11,044 KB
testcase_04 AC 138 ms
13,856 KB
testcase_05 AC 61 ms
10,496 KB
testcase_06 AC 148 ms
14,136 KB
testcase_07 AC 81 ms
11,108 KB
testcase_08 AC 133 ms
13,696 KB
testcase_09 AC 59 ms
10,216 KB
testcase_10 AC 128 ms
13,412 KB
testcase_11 AC 135 ms
13,648 KB
testcase_12 AC 119 ms
12,564 KB
testcase_13 AC 147 ms
14,076 KB
testcase_14 AC 44 ms
9,480 KB
testcase_15 AC 43 ms
9,604 KB
testcase_16 AC 138 ms
13,528 KB
testcase_17 AC 63 ms
10,592 KB
testcase_18 AC 172 ms
14,972 KB
testcase_19 AC 16 ms
7,904 KB
testcase_20 AC 15 ms
8,068 KB
testcase_21 AC 16 ms
7,916 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

n_num = int(input())
count_d =input()
count_list = count_d.split(" ")
sum = 0

for counter in range(n_num):
	sum = sum +int(count_list[counter])

averager = sum/n_num

for outputer in range(n_num):
	result =int(50 - (averager-int(count_list[outputer]))/2)
	print(result)
0