Xâu con đối xứng 2


Submit solution

Points: 1
Time limit: 1.0s
Memory limit: 1G

Problem type

Ví dụ

Ví dụ 1

input

abab
2
1 3
2 3

output

YES
NO

Comments

There are no comments at the moment.