結果

問題 No.1389 Clumsy Calculation
ユーザー matriematrie
提出日時 2021-02-12 21:27:04
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 71 bytes
コンパイル時間 115 ms
コンパイル使用メモリ 10,608 KB
実行使用メモリ 24,728 KB
最終ジャッジ日時 2023-09-27 02:48:16
合計ジャッジ時間 2,936 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,772 KB
testcase_01 AC 15 ms
7,832 KB
testcase_02 AC 16 ms
7,840 KB
testcase_03 AC 17 ms
8,320 KB
testcase_04 AC 17 ms
8,284 KB
testcase_05 AC 17 ms
8,424 KB
testcase_06 AC 16 ms
8,276 KB
testcase_07 AC 17 ms
8,288 KB
testcase_08 AC 16 ms
7,784 KB
testcase_09 AC 75 ms
24,176 KB
testcase_10 AC 46 ms
10,044 KB
testcase_11 AC 16 ms
8,224 KB
testcase_12 AC 17 ms
8,264 KB
testcase_13 AC 17 ms
8,188 KB
testcase_14 AC 70 ms
23,444 KB
testcase_15 AC 70 ms
23,512 KB
testcase_16 AC 70 ms
23,400 KB
testcase_17 AC 70 ms
23,764 KB
testcase_18 AC 69 ms
23,888 KB
testcase_19 AC 70 ms
23,892 KB
testcase_20 AC 69 ms
23,860 KB
testcase_21 AC 70 ms
23,868 KB
testcase_22 AC 70 ms
23,812 KB
testcase_23 AC 70 ms
23,868 KB
testcase_24 AC 70 ms
23,772 KB
testcase_25 AC 70 ms
23,812 KB
testcase_26 AC 68 ms
24,728 KB
testcase_27 AC 70 ms
23,420 KB
testcase_28 AC 69 ms
23,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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