結果
問題 | No.8090 Knapsack Function |
ユーザー |
|
提出日時 | 2022-04-01 21:27:15 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 84 ms / 2,000 ms |
コード長 | 297 bytes |
コンパイル時間 | 1,816 ms |
コンパイル使用メモリ | 192,072 KB |
最終ジャッジ日時 | 2025-01-28 13:41:14 |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 |
ソースコード
#include <bits/stdc++.h>using namespace std;using ll = long long int;int main(){ll N;cin >> N;for(ll i = 0;i < N;i++){ll a,b;cin >> a >> b;if(b == 1){cout << "Yes" << endl;return 0;}}cout << "No" << endl;}