In test case 2, for 4th and 7th cases.
input:
3
1 2 5
output:
4th case : NO
7th case : YES
What is going on?? Doesn't make sense.
Please help!
Weird Experience : Same Input, Different Answer!! Div. 4 — PROBLEM C.
In test case 2, for 4th and 7th cases.
input:
3
1 2 5
output:
4th case : NO
7th case : YES
What is going on?? Doesn't make sense.
Please help!