結果

問題 No.3090 Knapsack Function
ユーザー googol_S0googol_S0
提出日時 2022-04-01 21:25:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 192 ms / 2,000 ms
コード長 116 bytes
コンパイル時間 567 ms
コンパイル使用メモリ 87,156 KB
実行使用メモリ 78,268 KB
最終ジャッジ日時 2023-08-12 17:51:45
合計ジャッジ時間 3,476 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,544 KB
testcase_01 AC 73 ms
71,400 KB
testcase_02 AC 72 ms
71,396 KB
testcase_03 AC 72 ms
71,352 KB
testcase_04 AC 73 ms
71,456 KB
testcase_05 AC 73 ms
71,568 KB
testcase_06 AC 75 ms
71,388 KB
testcase_07 AC 77 ms
71,276 KB
testcase_08 AC 78 ms
71,516 KB
testcase_09 AC 74 ms
71,520 KB
testcase_10 AC 74 ms
71,448 KB
testcase_11 AC 75 ms
71,636 KB
testcase_12 AC 75 ms
71,176 KB
testcase_13 AC 74 ms
71,568 KB
testcase_14 AC 74 ms
71,456 KB
testcase_15 AC 74 ms
71,280 KB
testcase_16 AC 192 ms
78,168 KB
testcase_17 AC 155 ms
78,108 KB
testcase_18 AC 158 ms
78,268 KB
testcase_19 AC 156 ms
78,164 KB
testcase_20 AC 155 ms
78,236 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
X=[list(map(int,input().split()))[1] for i in range(N)]
if 1 in X:
  print('Yes')
else:
  print('No')
0