結果
| 問題 |
No.143 豆
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-02 19:12:22 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 280 bytes |
| コンパイル時間 | 699 ms |
| コンパイル使用メモリ | 69,620 KB |
| 最終ジャッジ日時 | 2025-02-20 19:41:56 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 WA * 3 |
ソースコード
#include <iostream>
#include <vector>
using namespace std;
int main(){
int n, m, a, res = 0;
cin >> n >> m >> a;
for(int i = 0; i < a; i++){
int l;
cin >> l;
res += l;
}
cout << n*m - res << endl;
return 0;
}