結果

問題 No.1389 Clumsy Calculation
ユーザー dangodango
提出日時 2023-06-25 14:51:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 115 ms / 2,000 ms
コード長 111 bytes
コンパイル時間 693 ms
コンパイル使用メモリ 86,920 KB
実行使用メモリ 100,176 KB
最終ジャッジ日時 2023-09-15 09:18:51
合計ジャッジ時間 6,328 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,116 KB
testcase_01 AC 72 ms
71,276 KB
testcase_02 AC 71 ms
71,060 KB
testcase_03 AC 74 ms
75,708 KB
testcase_04 AC 74 ms
75,656 KB
testcase_05 AC 75 ms
75,784 KB
testcase_06 AC 76 ms
75,756 KB
testcase_07 AC 75 ms
75,776 KB
testcase_08 AC 73 ms
71,260 KB
testcase_09 AC 115 ms
99,000 KB
testcase_10 AC 92 ms
90,276 KB
testcase_11 AC 76 ms
75,660 KB
testcase_12 AC 76 ms
75,696 KB
testcase_13 AC 76 ms
75,652 KB
testcase_14 AC 101 ms
93,800 KB
testcase_15 AC 100 ms
93,752 KB
testcase_16 AC 100 ms
93,700 KB
testcase_17 AC 111 ms
100,124 KB
testcase_18 AC 111 ms
100,032 KB
testcase_19 AC 111 ms
99,960 KB
testcase_20 AC 112 ms
100,176 KB
testcase_21 AC 111 ms
99,844 KB
testcase_22 AC 111 ms
99,932 KB
testcase_23 AC 109 ms
99,744 KB
testcase_24 AC 111 ms
100,124 KB
testcase_25 AC 109 ms
99,876 KB
testcase_26 AC 100 ms
93,256 KB
testcase_27 AC 101 ms
93,800 KB
testcase_28 AC 112 ms
99,756 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    n, x = map(int, input().split())
    print(sum(map(int, input().split())) - (n - 1) * x)
main()
0