| 提出番号 | 388 |
|---|---|
| 提出者 | TakemotoN |
| 言語 | C++ |
| 提出日時 | 2017-07-15 16:08:47 |
| 問題名 | (12)玉ねぎの収穫 ~Easy~ |
| 結果 | WA |
| 点数 | 0% |
| テストケース | 結果 | 得点 | 実行時間 | メモリ使用量 |
|---|---|---|---|---|
| 1 | WA | 0% | 86ms | 7568KB |
| 2 | WA | 0% | 62ms | 8352KB |
| 3 | WA | 0% | 1ms | 8096KB |
| 4 | WA | 0% | 23ms | 8016KB |
| 5 | WA | 0% | 23ms | 8176KB |
| 6 | WA | 0% | 11ms | 8208KB |
#include "iostream"
using namespace std;
int main() {
int N, M;
cin >> N;
cin >> M;
int ans = 0;
for (int i = 0; i < N; i++) {
int onion = N*M;
cin >> onion;
ans = ans + onion;
}
cout << ans << endl;
}