I submitted my solution on red black tree .In the status ,in the result box ,it is showing 100 but not accepted.Is my solution accepted or not? Can someone please solve my query
Yes it's accepted.
I submitted my solution and it says "Wrong Answer’. can someone help me pls
Puesdo code : public static void main (String[] args) throws java.lang.Exception { Scanner s = new Scanner(System.in); while(true) { int input = s.nextInt(); if(input == 42) break; } }
Sorry , i found the issue . I wasn’t printing the numbers . i added sysout and compiled and worked fine . thanks guys !