結果
問題 | No.2836 Comment Out |
ユーザー |
|
提出日時 | 2024-08-09 21:25:36 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 23 ms / 2,000 ms |
コード長 | 236 bytes |
コンパイル時間 | 644 ms |
コンパイル使用メモリ | 62,848 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-08-09 21:25:46 |
合計ジャッジ時間 | 2,852 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 52 |
ソースコード
#include<iostream>#include<cassert>using namespace std;int main(){ios::sync_with_stdio(false);cin.tie(nullptr);int N;cin>>N;bool fn=false;for(;N--;){int a;cin>>a;if(a<=1)fn=true;}cout<<(fn?"Yes":"No")<<endl;}