結果

問題 No.1389 Clumsy Calculation
ユーザー dango
提出日時 2023-06-25 14:51:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 88 ms / 2,000 ms
コード長 111 bytes
コンパイル時間 175 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 102,140 KB
最終ジャッジ日時 2024-07-02 13:22:09
合計ジャッジ時間 4,112 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

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