結果
| 問題 | No.143 豆 |
| コンテスト | |
| ユーザー |
rhyoo
|
| 提出日時 | 2020-02-18 15:48:22 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 370 bytes |
| コンパイル時間 | 498 ms |
| コンパイル使用メモリ | 66,900 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-06 15:36:26 |
| 合計ジャッジ時間 | 1,085 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 WA * 3 |
ソースコード
#include <iostream>
#include <stdio.h>
#include <vector>
#define rep(i,n) for(int i = 0; i < n; i++)
typedef long long ll;
using namespace std;
const int INF = 1e9;
const int MOD = 1e9+7;
const double PI=3.14159265358979323846;
int main(){
int k,n,f,sum=0;
cin >> k >> n >> f;
rep(i,f){
int a;
cin >> a;
sum+=a;
}
cout << k*n - sum << endl;
}
rhyoo