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
- Python 3 (Python 3.12.3)
- Submit At
- 2026-01-08 14:40:56
- Judged At
- 2026-01-08 14:40:56
- Judged By
- Score
- 0
- Total Time
- 18ms
- Peak Memory
- 3.02 MiB