結果

問題 No.1389 Clumsy Calculation
ユーザー raven7959raven7959
提出日時 2021-08-13 15:49:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 99 ms / 2,000 ms
コード長 91 bytes
コンパイル時間 174 ms
コンパイル使用メモリ 82,224 KB
実行使用メモリ 107,596 KB
最終ジャッジ日時 2024-04-14 09:06:55
合計ジャッジ時間 4,433 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
52,960 KB
testcase_01 AC 42 ms
52,828 KB
testcase_02 AC 39 ms
52,120 KB
testcase_03 AC 42 ms
60,008 KB
testcase_04 AC 43 ms
59,524 KB
testcase_05 AC 48 ms
60,140 KB
testcase_06 AC 41 ms
58,540 KB
testcase_07 AC 41 ms
59,148 KB
testcase_08 AC 38 ms
52,548 KB
testcase_09 AC 99 ms
102,732 KB
testcase_10 AC 75 ms
96,624 KB
testcase_11 AC 41 ms
59,024 KB
testcase_12 AC 42 ms
59,296 KB
testcase_13 AC 42 ms
59,724 KB
testcase_14 AC 86 ms
104,476 KB
testcase_15 AC 86 ms
103,648 KB
testcase_16 AC 84 ms
103,804 KB
testcase_17 AC 89 ms
107,056 KB
testcase_18 AC 91 ms
107,260 KB
testcase_19 AC 89 ms
107,368 KB
testcase_20 AC 90 ms
107,396 KB
testcase_21 AC 91 ms
107,596 KB
testcase_22 AC 91 ms
107,012 KB
testcase_23 AC 93 ms
107,352 KB
testcase_24 AC 91 ms
107,436 KB
testcase_25 AC 90 ms
107,592 KB
testcase_26 AC 83 ms
102,316 KB
testcase_27 AC 84 ms
103,600 KB
testcase_28 AC 90 ms
107,136 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,X=map(int,input().split())
S=list(map(int,input().split()))
num=sum(S)
print(num-X*(N-1))
0