結果
問題 |
No.3218 Night Equation
|
ユーザー |
|
提出日時 | 2025-08-04 16:20:29 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 8 ms / 2,000 ms |
コード長 | 345 bytes |
コンパイル時間 | 2,739 ms |
コンパイル使用メモリ | 275,116 KB |
実行使用メモリ | 7,720 KB |
最終ジャッジ日時 | 2025-08-04 16:20:34 |
合計ジャッジ時間 | 5,228 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 29 |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll =long long; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); ll N; cin>>N; bool OK=1; for(int i=0;i<N;i++){ ll a; cin>>a; if(a>0){ cout<<"Yes\n"; return 0; } } cout<<"No\n"; return 0; }