結果
問題 | No.2535 多重同値 |
ユーザー |
![]() |
提出日時 | 2023-11-10 21:29:19 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 102 ms / 2,000 ms |
コード長 | 219 bytes |
コンパイル時間 | 395 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 76,032 KB |
最終ジャッジ日時 | 2024-09-26 01:07:44 |
合計ジャッジ時間 | 2,144 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
import sysinput = sys.stdin.readlineN = int(input())ans = []now = 1for i in range(N):s = input().rstrip()if s == "No":now = 1 - nowif now:print("Yes")else:print("No")