|
|
вернуться в форумПоказать все сообщения Спрятать все сообщения Edited by author 03.03.2007 15:26 what was yr problem with WA3 WA66 Chernov Andrey [Vladimir SU] 3 мар 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 on test 3 5 3 it should be 1 I think i think that 3 4 3: 6 2 3 5 3: 6 1 4 5 3: 6 2 Re: WA66 Valentin (PSU) 3 мар 2007 17:05 And should be: 3 4 3 : 6 3 -> 6 2 4 5 3 : 6 3 -> 6 2 Re: WA66 DixonD (Lviv NU) 3 мар 2007 17:07 Why on 3 4 3 answer is 6 3? I think It must be 6 2! WA90 AlMag 3 мар 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) use int64 or long arithmetic Edited by author 03.03.2007 17:57 Thank U very much!! Damn, what a stupid mistake: not to check the test with maximum parameters! Thanks! Re: WA90 Dart MirzMan C++ Edition (Mirzoyan Alexey, Rybinsk SAAT) 3 мар 2007 20:07 > use int64 or long arithmetic do not use long arithmetic, use int64 (long long, __int64 - on your choice) :) 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 |
|
|