結果

問題 No.1389 Clumsy Calculation
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2021-05-11 10:52:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 96 ms / 2,000 ms
コード長 87 bytes
コンパイル時間 197 ms
コンパイル使用メモリ 81,644 KB
実行使用メモリ 106,624 KB
最終ジャッジ日時 2023-10-21 15:01:31
合計ジャッジ時間 5,048 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 48 ms
53,236 KB
testcase_01 AC 40 ms
53,236 KB
testcase_02 AC 45 ms
53,236 KB
testcase_03 AC 42 ms
59,312 KB
testcase_04 AC 41 ms
59,312 KB
testcase_05 AC 48 ms
59,312 KB
testcase_06 AC 47 ms
59,312 KB
testcase_07 AC 46 ms
59,312 KB
testcase_08 AC 39 ms
53,236 KB
testcase_09 AC 96 ms
102,120 KB
testcase_10 AC 72 ms
95,580 KB
testcase_11 AC 46 ms
59,312 KB
testcase_12 AC 46 ms
59,312 KB
testcase_13 AC 45 ms
59,312 KB
testcase_14 AC 89 ms
103,196 KB
testcase_15 AC 86 ms
103,196 KB
testcase_16 AC 83 ms
103,196 KB
testcase_17 AC 86 ms
106,624 KB
testcase_18 AC 85 ms
106,624 KB
testcase_19 AC 86 ms
106,624 KB
testcase_20 AC 88 ms
106,624 KB
testcase_21 AC 91 ms
106,624 KB
testcase_22 AC 92 ms
106,624 KB
testcase_23 AC 95 ms
106,624 KB
testcase_24 AC 88 ms
106,624 KB
testcase_25 AC 88 ms
106,624 KB
testcase_26 AC 81 ms
102,608 KB
testcase_27 AC 81 ms
103,196 KB
testcase_28 AC 85 ms
106,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,x = map(int,input().split())
S = list(map(int,input().split()))
print(sum(S)-(n-1)*x)
0