結果

問題 No.1389 Clumsy Calculation
ユーザー so4649so4649
提出日時 2021-02-12 21:22:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 132 ms / 2,000 ms
コード長 98 bytes
コンパイル時間 299 ms
コンパイル使用メモリ 87,056 KB
実行使用メモリ 107,352 KB
最終ジャッジ日時 2023-09-27 02:36:28
合計ジャッジ時間 4,991 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
71,372 KB
testcase_01 AC 78 ms
71,364 KB
testcase_02 AC 80 ms
71,464 KB
testcase_03 AC 81 ms
75,720 KB
testcase_04 AC 81 ms
75,820 KB
testcase_05 AC 80 ms
75,824 KB
testcase_06 AC 81 ms
75,812 KB
testcase_07 AC 80 ms
75,996 KB
testcase_08 AC 75 ms
71,252 KB
testcase_09 AC 132 ms
99,256 KB
testcase_10 AC 109 ms
103,732 KB
testcase_11 AC 79 ms
75,788 KB
testcase_12 AC 80 ms
75,684 KB
testcase_13 AC 78 ms
75,708 KB
testcase_14 AC 119 ms
107,176 KB
testcase_15 AC 118 ms
107,308 KB
testcase_16 AC 115 ms
107,352 KB
testcase_17 AC 129 ms
99,988 KB
testcase_18 AC 127 ms
100,052 KB
testcase_19 AC 128 ms
99,900 KB
testcase_20 AC 128 ms
99,876 KB
testcase_21 AC 124 ms
100,076 KB
testcase_22 AC 128 ms
99,796 KB
testcase_23 AC 129 ms
100,068 KB
testcase_24 AC 129 ms
99,940 KB
testcase_25 AC 129 ms
100,052 KB
testcase_26 AC 118 ms
106,804 KB
testcase_27 AC 120 ms
107,320 KB
testcase_28 AC 128 ms
99,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,x = map(int,input().split())
s = list(map(int,input().split()))

ans = sum(s)-x*(n-1)
print(ans)
0