結果

問題 No.1389 Clumsy Calculation
ユーザー ytftytft
提出日時 2021-07-07 18:39:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 116 ms / 2,000 ms
コード長 84 bytes
コンパイル時間 300 ms
コンパイル使用メモリ 86,912 KB
実行使用メモリ 107,760 KB
最終ジャッジ日時 2023-09-14 04:39:50
合計ジャッジ時間 5,694 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,604 KB
testcase_01 AC 64 ms
71,292 KB
testcase_02 AC 59 ms
71,324 KB
testcase_03 AC 61 ms
75,776 KB
testcase_04 AC 63 ms
75,908 KB
testcase_05 AC 63 ms
75,800 KB
testcase_06 AC 63 ms
75,776 KB
testcase_07 AC 65 ms
76,032 KB
testcase_08 AC 59 ms
71,428 KB
testcase_09 AC 106 ms
99,452 KB
testcase_10 AC 92 ms
103,972 KB
testcase_11 AC 66 ms
75,796 KB
testcase_12 AC 64 ms
75,908 KB
testcase_13 AC 65 ms
75,916 KB
testcase_14 AC 102 ms
107,508 KB
testcase_15 AC 98 ms
107,712 KB
testcase_16 AC 98 ms
107,760 KB
testcase_17 AC 106 ms
100,136 KB
testcase_18 AC 104 ms
100,120 KB
testcase_19 AC 106 ms
99,996 KB
testcase_20 AC 107 ms
100,164 KB
testcase_21 AC 106 ms
99,940 KB
testcase_22 AC 105 ms
100,116 KB
testcase_23 AC 103 ms
100,124 KB
testcase_24 AC 107 ms
99,996 KB
testcase_25 AC 109 ms
99,932 KB
testcase_26 AC 97 ms
106,708 KB
testcase_27 AC 97 ms
107,436 KB
testcase_28 AC 116 ms
100,112 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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