ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1081. Двоичная последовательность

Crash why ?
Послано rrpai 29 дек 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 ?
Послано Peter Huggy 20 мар 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 ?
Послано WangKaixiang 8 авг 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 ?
Послано WangKaixiang 8 авг 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 ?
Послано WangKaixiang 8 авг 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 ?
Послано WangKaixiang 8 авг 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 ?
Послано barry 22 июл 2012 08:12
maybe....-1