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 1418. Military Story

WA#11 and Why?
Posted by Zeva [USU] 25 Apr 2006 19:32
And now WA#13
        Baker's dozen!

Edited by author 25.04.2006 19:43
Re: WA#11 and Why?
Posted by Zeva [USU] 25 Apr 2006 20:41
I have found the silly mistake
It's helped me:
23
0 8
1 2
2 1
2 3
2 4
2 5
2 6
3 1
3 2
3 3
3 4
3 5
3 7
4 1
4 2
4 4
4 6
5 1
5 3
5 5
6 2
6 4
7 3
Re: WA#11 and Why?
Posted by frost 29 Jul 2006 14:40
what's the answer?
Re: WA#11 and Why?
Posted by Oleg Strekalovsky [Vologda SPU] 24 Oct 2010 19:49
2
I have WA 14 many times, because cos between two vectors(use floating operations) some times give wrong result.
Solution accepted with EPS for comparation of cosinus = 1e-15.

Edited by author 24.10.2010 19:50