結果

問題 No.2535 多重同値
ユーザー NullzNullz
提出日時 2023-11-11 06:45:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 303 ms / 2,000 ms
コード長 122 bytes
コンパイル時間 349 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 76,196 KB
最終ジャッジ日時 2023-11-11 06:45:12
合計ジャッジ時間 3,673 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,332 KB
testcase_01 AC 38 ms
53,332 KB
testcase_02 AC 38 ms
53,332 KB
testcase_03 AC 39 ms
53,332 KB
testcase_04 AC 38 ms
53,332 KB
testcase_05 AC 40 ms
53,332 KB
testcase_06 AC 39 ms
53,332 KB
testcase_07 AC 40 ms
53,332 KB
testcase_08 AC 40 ms
53,332 KB
testcase_09 AC 40 ms
53,332 KB
testcase_10 AC 39 ms
53,332 KB
testcase_11 AC 40 ms
53,332 KB
testcase_12 AC 38 ms
53,332 KB
testcase_13 AC 39 ms
53,332 KB
testcase_14 AC 41 ms
53,332 KB
testcase_15 AC 63 ms
63,704 KB
testcase_16 AC 114 ms
76,196 KB
testcase_17 AC 299 ms
76,068 KB
testcase_18 AC 303 ms
76,068 KB
testcase_19 AC 303 ms
76,196 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
b = 1
for _ in range(n):
    s = input()
    if s == 'No':
        b = 1 - b
    print('YNeos'[b < 1::2])
0