結果
| 問題 |
No.1816 MUL-DIV Game
|
| コンテスト | |
| ユーザー |
sxmIKjcEGh46HMF
|
| 提出日時 | 2022-01-21 23:05:21 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 408 bytes |
| コンパイル時間 | 3,715 ms |
| コンパイル使用メモリ | 228,860 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-26 02:30:27 |
| 合計ジャッジ時間 | 5,267 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 WA * 15 |
ソースコード
#include<bits/stdc++.h>
#include<atcoder/all>
#define fi first
#define se second
#define eb emplace_back
using namespace std;
using namespace atcoder;
using ll = long long;
int main() {
int N; cin >> N;
vector<ll> A(N);
for (int i = 0; i < N; ++i) cin >> A[i];
if (N == 1) cout << A[0] << endl;
else if (N == 2) cout << A[0] * A[1] << endl;
else cout << 1 << endl;
return 0;
}
sxmIKjcEGh46HMF