結果

問題 No.1389 Clumsy Calculation
ユーザー HAGI_TAROHAGI_TARO
提出日時 2021-09-22 09:20:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 89 bytes
コンパイル時間 622 ms
コンパイル使用メモリ 87,120 KB
実行使用メモリ 107,596 KB
最終ジャッジ日時 2023-09-18 04:19:47
合計ジャッジ時間 5,577 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,380 KB
testcase_01 AC 70 ms
70,984 KB
testcase_02 AC 68 ms
71,480 KB
testcase_03 AC 75 ms
75,652 KB
testcase_04 AC 72 ms
75,672 KB
testcase_05 AC 74 ms
75,664 KB
testcase_06 AC 72 ms
75,796 KB
testcase_07 AC 73 ms
75,572 KB
testcase_08 AC 69 ms
71,212 KB
testcase_09 AC 120 ms
99,348 KB
testcase_10 AC 100 ms
103,796 KB
testcase_11 AC 70 ms
75,932 KB
testcase_12 AC 72 ms
75,508 KB
testcase_13 AC 71 ms
75,516 KB
testcase_14 AC 108 ms
107,104 KB
testcase_15 AC 108 ms
107,264 KB
testcase_16 AC 109 ms
107,596 KB
testcase_17 AC 117 ms
99,900 KB
testcase_18 AC 119 ms
100,116 KB
testcase_19 AC 119 ms
99,936 KB
testcase_20 AC 118 ms
100,024 KB
testcase_21 AC 116 ms
99,932 KB
testcase_22 AC 116 ms
100,028 KB
testcase_23 AC 115 ms
99,796 KB
testcase_24 AC 118 ms
100,152 KB
testcase_25 AC 118 ms
100,060 KB
testcase_26 AC 107 ms
106,512 KB
testcase_27 AC 110 ms
107,384 KB
testcase_28 AC 116 ms
99,852 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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