[gcj] Getting Runtime Error for code jam 2018 practice round problem Number Guessing

2018-09-04 Thread Nikhil Kataria
I am getting RuntimeError for Hidden data sets for the following code:- import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.util.StringTokenizer; class Solution { private final static String CORRECT =

Re: [gcj] idk whats wrong with my code can anyone help?parenting partnering returns

2020-04-07 Thread Nikhil Kataria
Hi, I had implemented the code in the same way but I printed the output in the order the jobs arrived in the input not the sorted one which I implemented in the code. That's how I was able to solve the problem. Thanks and Regards, Nikhil Kataria On Tue, Apr 7, 2020 at 6:13 AM DEVANSH CHAUDHARY