結果

問題 No.3090 Knapsack Function
ユーザー SidewaysOwlSidewaysOwl
提出日時 2022-04-01 21:41:39
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 128 bytes
コンパイル時間 203 ms
コンパイル使用メモリ 82,920 KB
実行使用メモリ 77,012 KB
最終ジャッジ日時 2024-04-30 13:30:00
合計ジャッジ時間 1,997 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 32 ms
53,184 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 33 ms
52,968 KB
testcase_06 AC 33 ms
52,840 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 33 ms
53,416 KB
testcase_11 WA -
testcase_12 AC 33 ms
53,536 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 99 ms
76,252 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = "No"
for i in range(n):
    v,w = map(int,input().split())
    if w == 1:
        ans = "Yes"
print("No")
0