結果
| 問題 |
No.1389 Clumsy Calculation
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2022-05-07 10:48:31 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 198 bytes |
| コンパイル時間 | 717 ms |
| コンパイル使用メモリ | 66,608 KB |
| 最終ジャッジ日時 | 2025-01-29 04:38:58 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 26 |
ソースコード
#include <iostream>
using namespace std;
int main(){
long long n,x;cin>>n>>x;
long long sm = 0;
for(int i = 0; n > i; i++){
long long t;cin>>t;
sm += t;
}
cout << sm-n*x << endl;
}