結果
問題 | No.8090 Knapsack Function |
ユーザー | k82b |
提出日時 | 2023-06-17 03:14:48 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 83 ms / 2,000 ms |
コード長 | 184 bytes |
コンパイル時間 | 2,251 ms |
コンパイル使用メモリ | 198,628 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-24 20:40:05 |
合計ジャッジ時間 | 3,535 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ int N;cin>>N; for(int i=0;i<N;++i){ int u,w;cin>>u>>w; if(w==1){ cout<<"Yes\n"; return 0; } } cout<<"No\n"; }