結果
問題 | No.2836 Comment Out |
ユーザー | ripity |
提出日時 | 2024-08-09 22:00:19 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 82 ms / 2,000 ms |
コード長 | 186 bytes |
コンパイル時間 | 2,345 ms |
コンパイル使用メモリ | 200,448 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-08-09 22:00:25 |
合計ジャッジ時間 | 5,751 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 52 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; string ans = "No"; int A; while(N--) { cin >> A; if(A <= 1) ans = "Yes"; } cout << ans << endl; }