It is supposed to do this:
input:
3
4
1 1 1 1
5
8 7 1 3 4
1
5
output:
NO
YES
YES
my code:
https://mirror.codeforces.com/contest/1742/submission/203843549
can you send me the correct code?
What is wrong with my code?
It is supposed to do this:
input:
3
4
1 1 1 1
5
8 7 1 3 4
1
5
output:
NO
YES
YES
my code:
https://mirror.codeforces.com/contest/1742/submission/203843549
can you send me the correct code?