結果
問題 |
No.1389 Clumsy Calculation
|
ユーザー |
👑 |
提出日時 | 2022-05-07 10:48:02 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 180 bytes |
コンパイル時間 | 679 ms |
コンパイル使用メモリ | 66,220 KB |
最終ジャッジ日時 | 2025-01-29 04:38:53 |
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 26 |
ソースコード
#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; }