結果
問題 | No.1389 Clumsy Calculation |
ユーザー |
👑 |
提出日時 | 2021-08-23 05:53:35 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 106 ms / 2,000 ms |
コード長 | 112 bytes |
コンパイル時間 | 278 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 107,520 KB |
最終ジャッジ日時 | 2024-11-07 05:58:08 |
合計ジャッジ時間 | 4,821 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 26 |
ソースコード
n, x = map(int, input().split())slst = list(map(int, input().split()))tot = sum(slst)print(tot - x * (n - 1))