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

Обсуждение задачи 1871. Сейсмические волны

2 Admins: what's wrong with checker ?
Послано Strekalovsky Oleg [Vologda SPU #1] 30 окт 2011 18:49
Why my solution ID=3932185, ID=3932184 get's WA against crash ?
In my source code i have thrown an Error, but program not crashed ,but get WA 1.
Re: 2 Admins: what's wrong with checker ?
Послано Noob 30 окт 2011 23:13
If you create new Thread, throwing an exception will lead to WA: another Thread outputs nothing and finishes its work correctly
Re: 2 Admins: what's wrong with checker ?
Послано Strekalovsky Oleg [Vologda SPU #1] 31 окт 2011 00:21
Noob писал(a) 30 октября 2011 23:13
If you create new Thread, throwing an exception will lead to WA: another Thread outputs nothing and finishes its work correctly

Are you sure, that after >480 accepted solutions I'v done so stupid mistake ?
PS:
I don't use threads. Problem was with Timus JVM. It's solved.
Re: 2 Admins: what's wrong with checker ?
Послано Noob 31 окт 2011 00:26
Anyway, if you throw an exception or write System.exit(-1) in a newly created Thread, you will get WA, not RE. It's that I don't like on Timus.
Re: 2 Admins: what's wrong with checker ?
Послано Strekalovsky Oleg [Vologda SPU #1] 31 окт 2011 12:12
Noob писал(a) 31 октября 2011 00:26
Anyway, if you throw an exception or write System.exit(-1) in a newly created Thread, you will get WA, not RE. It's that I don't like on Timus.
I know that. I don't use threads.
Re: 2 Admins: what's wrong with checker ?
Послано Vladimir Yakovlev (USU) 31 окт 2011 13:26
These sumbissions have verdict Crash 1 now. It was a failure of compiler - any solution was judged as WA1.