結果

問題 No.970 数列変換マシン
ユーザー rlangevinrlangevin
提出日時 2023-01-02 19:53:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 92 ms / 2,000 ms
コード長 122 bytes
コンパイル時間 316 ms
コンパイル使用メモリ 82,380 KB
実行使用メモリ 99,220 KB
最終ジャッジ日時 2024-05-05 06:37:52
合計ジャッジ時間 3,258 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 89 ms
98,636 KB
testcase_01 AC 89 ms
99,060 KB
testcase_02 AC 92 ms
99,220 KB
testcase_03 AC 83 ms
97,612 KB
testcase_04 AC 82 ms
97,972 KB
testcase_05 AC 85 ms
97,976 KB
testcase_06 AC 78 ms
97,228 KB
testcase_07 AC 80 ms
97,628 KB
testcase_08 AC 78 ms
97,952 KB
testcase_09 AC 41 ms
59,784 KB
testcase_10 AC 39 ms
58,656 KB
testcase_11 AC 45 ms
63,748 KB
testcase_12 AC 45 ms
62,640 KB
testcase_13 AC 40 ms
58,912 KB
testcase_14 AC 47 ms
64,800 KB
testcase_15 AC 34 ms
53,156 KB
testcase_16 AC 34 ms
52,712 KB
testcase_17 AC 35 ms
52,332 KB
testcase_18 AC 34 ms
53,040 KB
testcase_19 AC 35 ms
51,992 KB
testcase_20 AC 35 ms
52,436 KB
testcase_21 AC 36 ms
53,036 KB
testcase_22 AC 36 ms
52,544 KB
testcase_23 AC 36 ms
51,632 KB
testcase_24 AC 36 ms
53,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
Y = list(map(int, input().split()))
S = sum(Y)
ans = list(map(lambda x : S - (N - 1) * x, Y))
print(*ans)
0