Wrong Answer
Code
for _ in range(int(input())):
n = int(input())
s = input()
p = input()
if len(set(p)) == 1 and s != p:
print("NO")
else:
print("YES")
Information
- Submit By
- Type
- Submission
- Problem
- P1233 B. Make Binary Strings Equal
- Language
- PyPy 3 (Python 3.9.18 PyPy 7.3.15)
- Submit At
- 2026-01-07 03:06:38
- Judged At
- 2026-01-07 03:06:38
- Judged By
- Score
- 0
- Total Time
- 40ms
- Peak Memory
- 17.746 MiB