ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1081. Binary Lexicographic Sequence

Crash why ?
Posted by rrpai 29 Dec 2006 11:18
My java program crashes for this. I do not understand why. I tested for even big inputs and it is working fine for me in my machine.  How do I know where it crashed ? No information is given by judge.
Re: Crash why ?
Posted by Peter Huggy 20 Mar 2007 13:13
Test 6 contains numbers on different lines (I suppose so). I have Crash in my C# program on this test. And now it is AC!
Re: Crash why ?
Posted by WangKaixiang 8 Aug 2008 09:37
I have the same trouble, also with java!

Scanner in = new Scanner(System.in);
int n = in.nextInt();
int k = in.nextInt();

Above is like the A+B problem, I think it's right.
Any one can help me plz?~:)
Re: Crash why ?
Posted by WangKaixiang 8 Aug 2008 09:40
I have the same trouble, also with java!

Scanner in = new Scanner(System.in);
int n = in.nextInt();
int k = in.nextInt();

Above is like the A+B problem, I think it's right.
Any one can help me plz?~:)
Re: Crash why ?
Posted by WangKaixiang 8 Aug 2008 09:40
I have the same trouble, also with java!

Scanner in = new Scanner(System.in);
int n = in.nextInt();
int k = in.nextInt();

Above is like the A+B problem, I think it's right.
Any one can help me plz?~:)
Re: Crash why ?
Posted by WangKaixiang 8 Aug 2008 09:51
I know why crash!~
for the input:40 1000000000 no problem
what about this one: 1 1
I carsh because can't pass 1 1
But now AC~~~
Re: Crash why ?
Posted by barry 22 Jul 2012 08:12
maybe....-1