結果

問題 No.970 数列変換マシン
ユーザー O2MTO2MT
提出日時 2021-02-17 19:05:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 121 bytes
コンパイル時間 792 ms
コンパイル使用メモリ 86,932 KB
実行使用メモリ 100,584 KB
最終ジャッジ日時 2023-10-12 05:31:41
合計ジャッジ時間 4,577 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
100,584 KB
testcase_01 AC 122 ms
100,500 KB
testcase_02 AC 119 ms
100,464 KB
testcase_03 AC 113 ms
98,996 KB
testcase_04 AC 113 ms
98,908 KB
testcase_05 AC 115 ms
99,332 KB
testcase_06 AC 110 ms
98,284 KB
testcase_07 AC 116 ms
99,168 KB
testcase_08 AC 114 ms
99,196 KB
testcase_09 AC 75 ms
75,604 KB
testcase_10 AC 73 ms
75,304 KB
testcase_11 AC 79 ms
76,736 KB
testcase_12 AC 79 ms
76,812 KB
testcase_13 AC 75 ms
75,408 KB
testcase_14 AC 80 ms
76,800 KB
testcase_15 AC 70 ms
71,440 KB
testcase_16 AC 70 ms
71,484 KB
testcase_17 AC 70 ms
71,412 KB
testcase_18 AC 71 ms
71,180 KB
testcase_19 AC 69 ms
71,248 KB
testcase_20 AC 68 ms
71,460 KB
testcase_21 AC 71 ms
71,304 KB
testcase_22 AC 70 ms
71,328 KB
testcase_23 AC 68 ms
71,412 KB
testcase_24 AC 71 ms
71,280 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
Y = list(map(int,input().split()))
sumX = sum(Y)
X = []
for y in Y:
    X.append(sumX-(N-1)*y)
print(*X)
0