結果
| 問題 | No.2836 Comment Out |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-12 19:57:10 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 2,000 ms |
| コード長 | 318 bytes |
| 記録 | |
| コンパイル時間 | 2,628 ms |
| コンパイル使用メモリ | 275,612 KB |
| 実行使用メモリ | 16,768 KB |
| 最終ジャッジ日時 | 2026-07-05 11:39:56 |
| 合計ジャッジ時間 | 5,776 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 52 |
ソースコード
#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using ll = long long;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int n, cnt = 0;
cin >> n;
vector<int> a(n);
for(auto &&v : a) cin >> v;
cout << (*min_element(a.begin(), a.end()) <= 1 ? "Yes" : "No") << '\n';
}