結果
問題 | No.8090 Knapsack Function |
ユーザー |
![]() |
提出日時 | 2022-04-01 22:06:47 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 133 ms / 2,000 ms |
コード長 | 145 bytes |
コンパイル時間 | 164 ms |
コンパイル使用メモリ | 82,116 KB |
実行使用メモリ | 76,660 KB |
最終ジャッジ日時 | 2024-11-20 09:26:32 |
合計ジャッジ時間 | 2,334 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 |
ソースコード
n = int(input()) ok = False for _ in range(n): v, w = map(int, input().split()) if w == 1: ok = True print('Yes' if ok else 'No')