結果

問題 No.2343 (l+r)/2
ユーザー prussian_coderprussian_coder
提出日時 2023-06-10 22:09:13
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 136 bytes
コンパイル時間 441 ms
コンパイル使用メモリ 87,236 KB
実行使用メモリ 78,344 KB
最終ジャッジ日時 2023-08-31 01:14:56
合計ジャッジ時間 2,885 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
70,940 KB
testcase_01 AC 554 ms
77,368 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 63 ms
71,376 KB
testcase_05 AC 61 ms
71,048 KB
testcase_06 AC 59 ms
71,324 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 58 ms
71,440 KB
testcase_13 AC 62 ms
71,040 KB
testcase_14 WA -
権限があれば一括ダウンロードができます

ソースコード

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