結果

問題 No.2343 (l+r)/2
ユーザー prussian_coder
提出日時 2023-06-10 22:09:13
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 136 bytes
コンパイル時間 298 ms
コンパイル使用メモリ 82,560 KB
実行使用メモリ 77,440 KB
最終ジャッジ日時 2025-01-03 02:40:45
合計ジャッジ時間 2,521 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 6 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

for _ in range(int(input())):
	n=int(input())
	s=input()
	if n%2==0 or ("0 0" in s) or ("1 1" in s):
		print("Yes")
	else:
		print("No")
0