結果

問題 No.970 数列変換マシン
ユーザー brthyyjpbrthyyjp
提出日時 2020-03-10 03:10:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 89 ms / 2,000 ms
コード長 130 bytes
コンパイル時間 214 ms
コンパイル使用メモリ 82,184 KB
実行使用メモリ 94,248 KB
最終ジャッジ日時 2024-04-27 18:27:56
合計ジャッジ時間 2,715 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 89 ms
93,956 KB
testcase_01 AC 84 ms
94,248 KB
testcase_02 AC 85 ms
94,096 KB
testcase_03 AC 80 ms
92,336 KB
testcase_04 AC 79 ms
92,744 KB
testcase_05 AC 83 ms
92,748 KB
testcase_06 AC 77 ms
91,976 KB
testcase_07 AC 80 ms
92,756 KB
testcase_08 AC 80 ms
92,812 KB
testcase_09 AC 43 ms
60,308 KB
testcase_10 AC 43 ms
60,596 KB
testcase_11 AC 49 ms
63,148 KB
testcase_12 AC 48 ms
63,132 KB
testcase_13 AC 43 ms
59,432 KB
testcase_14 AC 49 ms
63,656 KB
testcase_15 AC 36 ms
52,620 KB
testcase_16 AC 37 ms
52,124 KB
testcase_17 AC 37 ms
53,616 KB
testcase_18 AC 36 ms
52,624 KB
testcase_19 AC 38 ms
52,852 KB
testcase_20 AC 37 ms
52,904 KB
testcase_21 AC 38 ms
53,096 KB
testcase_22 AC 37 ms
52,864 KB
testcase_23 AC 38 ms
52,616 KB
testcase_24 AC 37 ms
51,820 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
Y = list(map(int, input().split()))

S = sum(Y)
X = [0]*n
for i in range(n):
    X[i] = S - (n-1)*Y[i]
print(*X)
0