結果
| 問題 | No.143 豆 |
| コンテスト | |
| ユーザー |
focus
|
| 提出日時 | 2018-01-23 21:56:01 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 247 bytes |
| 記録 | |
| コンパイル時間 | 565 ms |
| コンパイル使用メモリ | 58,076 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-26 03:48:27 |
| 合計ジャッジ時間 | 1,066 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 WA * 3 |
ソースコード
#include<iostream>
#include<vector>
#include<algorithm>
#include<cstdio>
using namespace std;
int main(){
int K,N,F,x,sum=0;
cin >> K >> N >> F;
while(F--){
cin >> x;
sum+=x;
}
cout << N*K-sum;
return 0;
}
focus