結果
問題 | No.2535 多重同値 |
ユーザー |
![]() |
提出日時 | 2023-11-10 21:35:15 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 126 ms / 2,000 ms |
コード長 | 278 bytes |
コンパイル時間 | 1,642 ms |
コンパイル使用メモリ | 192,756 KB |
最終ジャッジ日時 | 2025-02-17 20:29:45 |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
#include <bits/stdc++.h>using namespace std;using ll = long long;int main(){int N, S=0;string T;cin >> N;for (int i=0; i<N; i++){cin >> T;if (T == "No") S++;cout << (S % 2 == 0 ? "Yes" : "No") << endl;}return 0;}