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 1534. Football in Gondor

WA10 ( Who has the same? (-)
Posted by AlMag 3 Mar 2007 15:13


Edited by author 03.03.2007 15:26
Re: WA10 ( Who has the same? (-)
Posted by Index Tree 3 Mar 2007 15:28
what was yr problem with WA3
Re: WA10 ( Who has the same? (-)
Posted by Chernov Andrey [Vladimir SU] 3 Mar 2007 15:59
WA66 :)
WA66
Posted by Chernov Andrey [Vladimir SU] 3 Mar 2007 16:04
What's wrong?

0 0 3 : 3 3
0 1 3 : 2 2
0 2 3 : 2 1
0 3 3 : 2 0
0 4 3 : 2 0
0 5 3 : 2 0
1 0 3 : 5 5
1 1 3 : 4 3
1 2 3 : 4 2
1 3 3 : 4 1
1 4 3 : 4 0
1 5 3 : 4 0
2 0 3 : 7 5
2 1 3 : 6 4
2 2 3 : 6 3
2 3 3 : 6 2
2 4 3 : 6 1
2 5 3 : 6 0
3 0 3 : 9 5
3 1 3 : 7 4
3 2 3 : 6 3
3 3 3 : 6 3
3 4 3 : 6 3
3 5 3 : 6 3
4 0 3 : 9 5
4 1 3 : 9 4
4 2 3 : 7 3
4 3 3 : 6 3
4 4 3 : 6 3
4 5 3 : 6 3
5 0 3 : 9 5
5 1 3 : 9 4
5 2 3 : 9 3
5 3 3 : 7 3
5 4 3 : 6 3
5 5 3 : 6 3
Re: WA66
Posted by Todor Tsonkov 3 Mar 2007 16:26
on test 3 5 3 it should be 1 I think
Re: WA66
Posted by Соболева Оля 3 Mar 2007 17:04
i think that
3 4 3: 6 2
3 5 3: 6 1
4 5 3: 6 2
Re: WA66
Posted by Valentin (PSU) 3 Mar 2007 17:05
And should be:
3 4 3 : 6 3 -> 6 2
4 5 3 : 6 3 -> 6 2
Re: WA66
Posted by DixonD (Lviv NU) 3 Mar 2007 17:07
Why on 3 4 3 answer is 6 3?
I think It must be 6 2!
WA90
Posted by AlMag 3 Mar 2007 17:42
If you have WA3 try test with k=l.
If you have WA10 try 10 0 100
If you had WA90 and passed it, help me)
Re: WA90
Posted by Соболева Оля 3 Mar 2007 17:51
use int64 or long arithmetic

Edited by author 03.03.2007 17:57
Re: WA90
Posted by AlMag 3 Mar 2007 17:58
Thank U very much!!
Damn, what a stupid mistake: not to check the test with maximum parameters! Thanks!
Re: WA90
> use int64 or long arithmetic

do not use long arithmetic, use int64 (long long, __int64 - on your choice) :)
Re: WA90
Posted by AlMag 5 Mar 2007 12:07
Simple 10 "If" and AC.
Re: WA90
Posted by IvanPMI_LNU 5 Mar 2007 22:03
It's better to use unsigned int (I had AC) but if you want to save results, you must use __int64

Edited by author 05.03.2007 22:07