結果

問題 No.1389 Clumsy Calculation
ユーザー H3PO4H3PO4
提出日時 2021-02-12 21:22:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 91 bytes
コンパイル時間 215 ms
コンパイル使用メモリ 10,524 KB
実行使用メモリ 24,020 KB
最終ジャッジ日時 2023-09-27 02:37:01
合計ジャッジ時間 3,044 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,780 KB
testcase_01 AC 16 ms
7,916 KB
testcase_02 AC 16 ms
7,768 KB
testcase_03 AC 18 ms
8,240 KB
testcase_04 AC 16 ms
8,244 KB
testcase_05 AC 17 ms
8,204 KB
testcase_06 AC 16 ms
8,188 KB
testcase_07 AC 16 ms
8,212 KB
testcase_08 AC 16 ms
7,776 KB
testcase_09 AC 73 ms
24,020 KB
testcase_10 AC 47 ms
9,944 KB
testcase_11 AC 16 ms
8,180 KB
testcase_12 AC 16 ms
8,404 KB
testcase_13 AC 16 ms
8,196 KB
testcase_14 AC 71 ms
23,588 KB
testcase_15 AC 70 ms
23,452 KB
testcase_16 AC 69 ms
23,488 KB
testcase_17 AC 71 ms
23,636 KB
testcase_18 AC 71 ms
23,696 KB
testcase_19 AC 71 ms
23,752 KB
testcase_20 AC 71 ms
23,688 KB
testcase_21 AC 70 ms
23,792 KB
testcase_22 AC 70 ms
23,664 KB
testcase_23 AC 71 ms
23,664 KB
testcase_24 AC 71 ms
23,664 KB
testcase_25 AC 71 ms
23,684 KB
testcase_26 AC 68 ms
23,152 KB
testcase_27 AC 70 ms
23,592 KB
testcase_28 AC 72 ms
23,692 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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