結果
| 問題 | No.1389 Clumsy Calculation |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-07 10:48:02 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 180 bytes |
| 記録 | |
| コンパイル時間 | 613 ms |
| コンパイル使用メモリ | 79,960 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-26 00:25:02 |
| 合計ジャッジ時間 | 4,725 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 27 |
ソースコード
#include <iostream>
using namespace std;
int main(){
int n,x;cin>>n>>x;
int sm = 0;
for(int i = 0; n > i; i++){
int t;cin>>t;
sm += t;
}
cout << sm-n*x << endl;
}