結果

問題 No.970 数列変換マシン
ユーザー 👑 KazunKazun
提出日時 2020-06-03 02:14:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 111 ms / 2,000 ms
コード長 117 bytes
コンパイル時間 1,792 ms
コンパイル使用メモリ 86,916 KB
実行使用メモリ 90,756 KB
最終ジャッジ日時 2023-08-16 11:42:16
合計ジャッジ時間 7,034 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 110 ms
90,360 KB
testcase_01 AC 110 ms
90,372 KB
testcase_02 AC 111 ms
90,444 KB
testcase_03 AC 108 ms
90,612 KB
testcase_04 AC 107 ms
90,400 KB
testcase_05 AC 107 ms
90,756 KB
testcase_06 AC 103 ms
89,812 KB
testcase_07 AC 106 ms
90,548 KB
testcase_08 AC 108 ms
90,596 KB
testcase_09 AC 80 ms
75,572 KB
testcase_10 AC 77 ms
75,680 KB
testcase_11 AC 83 ms
76,796 KB
testcase_12 AC 82 ms
76,636 KB
testcase_13 AC 77 ms
75,592 KB
testcase_14 AC 82 ms
76,720 KB
testcase_15 AC 70 ms
71,388 KB
testcase_16 AC 70 ms
71,352 KB
testcase_17 AC 71 ms
71,060 KB
testcase_18 AC 72 ms
71,384 KB
testcase_19 AC 69 ms
71,292 KB
testcase_20 AC 68 ms
71,432 KB
testcase_21 AC 68 ms
71,432 KB
testcase_22 AC 70 ms
71,356 KB
testcase_23 AC 70 ms
71,292 KB
testcase_24 AC 70 ms
71,392 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
Y=list(map(int,input().split()))
S=sum(Y)

for k in range(N):
    print(S-Y[k]*(N-1),end=" ")
print()
0