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 1871. Seismic Waves

2 Admins: what's wrong with checker ?
Posted by Strekalovsky Oleg [Vologda SPU #1] 30 Oct 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 ?
Posted by Noob 30 Oct 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 ?
Posted by Strekalovsky Oleg [Vologda SPU #1] 31 Oct 2011 00:21
Noob wrote 30 October 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 ?
Posted by Noob 31 Oct 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 ?
Posted by Strekalovsky Oleg [Vologda SPU #1] 31 Oct 2011 12:12
Noob wrote 31 October 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 ?
Posted by Vladimir Yakovlev (USU) 31 Oct 2011 13:26
These sumbissions have verdict Crash 1 now. It was a failure of compiler - any solution was judged as WA1.