結果

問題 No.3090 Knapsack Function
ユーザー rin204rin204
提出日時 2022-04-01 21:34:57
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 135 bytes
コンパイル時間 208 ms
コンパイル使用メモリ 82,404 KB
実行使用メモリ 76,388 KB
最終ジャッジ日時 2024-04-30 13:18:30
合計ジャッジ時間 2,319 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,356 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 37 ms
52,612 KB
testcase_05 AC 37 ms
52,068 KB
testcase_06 WA -
testcase_07 AC 43 ms
52,240 KB
testcase_08 AC 38 ms
52,620 KB
testcase_09 WA -
testcase_10 AC 38 ms
53,384 KB
testcase_11 AC 38 ms
52,444 KB
testcase_12 AC 39 ms
53,888 KB
testcase_13 AC 38 ms
52,276 KB
testcase_14 AC 37 ms
52,608 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 113 ms
76,232 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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