You are viewing a single comment's thread. Return to all comments →
You need to do this:
if( arrSize ==1){ int c = in.nextInt(); System.out.println("YES"); continue; }
where c is the current input from STDN. and you continue so that you can go to the next testcase.
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Array
You are viewing a single comment's thread. Return to all comments →
You need to do this:
if( arrSize ==1){
int c = in.nextInt(); System.out.println("YES");
continue; }
where c is the current input from STDN. and you continue so that you can go to the next testcase.