Custom Input runs

public static void main (String[] args) throws java.lang.Exception

What’s the difference between running on custom input and “running it” as you say?


In that case, read @ssjgz’s comment

1 Like

i submitted it after that it is not working

That means your code’s wrong, it has nothing to do with the runtime error that you get from a lack of input

i have run it on eclipse as well as with custom input it works fine

Yes, but just because it passes the sample doesn’t mean it’ll pass all test cases

1 Like

may i share my code

You haven’t even said what the problem is