結果
問題 |
No.8090 Knapsack Function
|
ユーザー |
|
提出日時 | 2023-02-11 02:56:19 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 80 ms / 2,000 ms |
コード長 | 233 bytes |
コンパイル時間 | 696 ms |
コンパイル使用メモリ | 65,528 KB |
最終ジャッジ日時 | 2025-02-10 14:04:02 |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 |
ソースコード
#include<iostream> using namespace std; int main(){ int n;cin>>n; for(int i=0;i<n;i++){ int u,v;cin>>u>>v; if(v==1){ cout<<"Yes"<<endl; return 0; } } cout<<"No"<<endl; }