結果

問題 No.1389 Clumsy Calculation
ユーザー persimmon-persimmonpersimmon-persimmon
提出日時 2021-02-13 09:32:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 84 bytes
コンパイル時間 358 ms
コンパイル使用メモリ 86,908 KB
実行使用メモリ 107,556 KB
最終ジャッジ日時 2023-09-27 17:35:11
合計ジャッジ時間 5,626 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,396 KB
testcase_01 AC 64 ms
71,332 KB
testcase_02 AC 66 ms
71,260 KB
testcase_03 AC 69 ms
75,868 KB
testcase_04 AC 69 ms
75,748 KB
testcase_05 AC 69 ms
75,732 KB
testcase_06 AC 68 ms
75,912 KB
testcase_07 AC 68 ms
75,632 KB
testcase_08 AC 64 ms
71,436 KB
testcase_09 AC 117 ms
99,552 KB
testcase_10 AC 97 ms
103,968 KB
testcase_11 AC 67 ms
75,900 KB
testcase_12 AC 69 ms
75,900 KB
testcase_13 AC 69 ms
75,992 KB
testcase_14 AC 104 ms
107,340 KB
testcase_15 AC 107 ms
107,392 KB
testcase_16 AC 105 ms
107,556 KB
testcase_17 AC 115 ms
99,824 KB
testcase_18 AC 115 ms
100,092 KB
testcase_19 AC 112 ms
100,132 KB
testcase_20 AC 116 ms
99,988 KB
testcase_21 AC 113 ms
100,168 KB
testcase_22 AC 113 ms
100,048 KB
testcase_23 AC 111 ms
100,144 KB
testcase_24 AC 114 ms
99,760 KB
testcase_25 AC 114 ms
99,796 KB
testcase_26 AC 105 ms
107,008 KB
testcase_27 AC 105 ms
107,340 KB
testcase_28 AC 111 ms
100,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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