We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
For the test cases which contains a single element, make sure that you print YES, otherwise you will fail the Test #6. I think it is a huge mistake of the author, because it is not specified at all!
Sherlock and Array
You are viewing a single comment's thread. Return to all comments →
For the test cases which contains a single element, make sure that you print YES, otherwise you will fail the Test #6. I think it is a huge mistake of the author, because it is not specified at all!
For example for input:
1
1
1
Make sure your answer is:
YES