結果

問題 No.1389 Clumsy Calculation
ユーザー hir355hir355
提出日時 2021-02-12 22:05:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 96 bytes
コンパイル時間 362 ms
コンパイル使用メモリ 87,220 KB
実行使用メモリ 107,708 KB
最終ジャッジ日時 2023-09-27 04:08:52
合計ジャッジ時間 5,137 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,396 KB
testcase_01 AC 68 ms
71,468 KB
testcase_02 AC 71 ms
71,156 KB
testcase_03 AC 73 ms
75,908 KB
testcase_04 AC 72 ms
75,784 KB
testcase_05 AC 74 ms
75,748 KB
testcase_06 AC 72 ms
75,780 KB
testcase_07 AC 73 ms
75,780 KB
testcase_08 AC 71 ms
71,588 KB
testcase_09 AC 121 ms
99,464 KB
testcase_10 AC 100 ms
104,084 KB
testcase_11 AC 73 ms
76,080 KB
testcase_12 AC 72 ms
75,916 KB
testcase_13 AC 73 ms
75,852 KB
testcase_14 AC 110 ms
107,372 KB
testcase_15 AC 109 ms
107,708 KB
testcase_16 AC 110 ms
107,456 KB
testcase_17 AC 115 ms
99,904 KB
testcase_18 AC 121 ms
99,860 KB
testcase_19 AC 125 ms
99,992 KB
testcase_20 AC 118 ms
100,212 KB
testcase_21 AC 117 ms
100,132 KB
testcase_22 AC 118 ms
100,036 KB
testcase_23 AC 116 ms
99,948 KB
testcase_24 AC 116 ms
99,908 KB
testcase_25 AC 116 ms
100,204 KB
testcase_26 AC 106 ms
106,972 KB
testcase_27 AC 108 ms
107,516 KB
testcase_28 AC 118 ms
99,908 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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