結果

問題 No.1131 Deviation Score
ユーザー brthyyjpbrthyyjp
提出日時 2020-10-01 04:54:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 114 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 1,397 ms
コンパイル使用メモリ 86,832 KB
実行使用メモリ 94,180 KB
最終ジャッジ日時 2023-09-10 12:32:12
合計ジャッジ時間 4,447 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 89 ms
77,848 KB
testcase_01 AC 85 ms
76,672 KB
testcase_02 AC 110 ms
91,784 KB
testcase_03 AC 98 ms
81,988 KB
testcase_04 AC 110 ms
90,196 KB
testcase_05 AC 92 ms
79,112 KB
testcase_06 AC 111 ms
91,776 KB
testcase_07 AC 96 ms
82,128 KB
testcase_08 AC 108 ms
89,716 KB
testcase_09 AC 87 ms
79,064 KB
testcase_10 AC 105 ms
88,244 KB
testcase_11 AC 104 ms
88,424 KB
testcase_12 AC 103 ms
86,856 KB
testcase_13 AC 110 ms
91,580 KB
testcase_14 AC 88 ms
76,752 KB
testcase_15 AC 86 ms
76,780 KB
testcase_16 AC 107 ms
89,684 KB
testcase_17 AC 91 ms
79,676 KB
testcase_18 AC 114 ms
94,180 KB
testcase_19 AC 75 ms
71,096 KB
testcase_20 AC 72 ms
71,112 KB
testcase_21 AC 72 ms
71,108 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
X = list(map(int, input().split()))
a = sum(X)/n
ans = [0]*n
for i, x in enumerate(X):
    ans[i] = int(50-(a-x)/2)
print(*ans, sep='\n')
0