ndakostan's blog

By ndakostan, 6 years ago, In English,

I try to solve this problem 2B in Java. My class was compiled in Eclipse but when I submited it, Codeforces's verdict is runtime error. I have read other's code in Java but I can't find out the problem. Why did it happen? Here is my code

 
 
 
 
  • Vote: I like it
  • +2
  • Vote: I do not like it

»
6 years ago, # |
Rev. 3   Vote: I like it 0 Vote: I do not like it

Try custom test to debug your code custom test EDT : Delete first line in your code. You can't open a package in Codeforces.

»
6 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

you can use long long int :)