結果

問題 No.1389 Clumsy Calculation
ユーザー kohei2019kohei2019
提出日時 2021-02-12 21:24:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 138 ms / 2,000 ms
コード長 101 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 87,144 KB
実行使用メモリ 107,528 KB
最終ジャッジ日時 2023-09-27 02:41:27
合計ジャッジ時間 5,063 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
71,344 KB
testcase_01 AC 79 ms
71,176 KB
testcase_02 AC 79 ms
71,364 KB
testcase_03 AC 82 ms
75,744 KB
testcase_04 AC 81 ms
75,660 KB
testcase_05 AC 82 ms
75,748 KB
testcase_06 AC 80 ms
75,800 KB
testcase_07 AC 85 ms
75,780 KB
testcase_08 AC 77 ms
70,980 KB
testcase_09 AC 135 ms
99,408 KB
testcase_10 AC 116 ms
103,816 KB
testcase_11 AC 81 ms
75,744 KB
testcase_12 AC 83 ms
75,660 KB
testcase_13 AC 82 ms
75,744 KB
testcase_14 AC 124 ms
107,256 KB
testcase_15 AC 125 ms
107,256 KB
testcase_16 AC 124 ms
107,528 KB
testcase_17 AC 135 ms
100,048 KB
testcase_18 AC 136 ms
99,904 KB
testcase_19 AC 138 ms
100,004 KB
testcase_20 AC 133 ms
100,012 KB
testcase_21 AC 134 ms
99,904 KB
testcase_22 AC 133 ms
100,060 KB
testcase_23 AC 133 ms
99,852 KB
testcase_24 AC 133 ms
99,972 KB
testcase_25 AC 135 ms
99,972 KB
testcase_26 AC 123 ms
106,656 KB
testcase_27 AC 125 ms
107,316 KB
testcase_28 AC 136 ms
99,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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