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 1890. Money out of Thin Air

WA 7
Posted by Yegor 19 Dec 2011 03:58
What can cause a "wrong answer" in 7-th test?
Re: WA 7
Posted by xurshid_n 23 Jan 2012 14:52
I used sqrt_decompostion and always get WA7.
what is tricky test 7?


I found my bug,  I renum all vertexes, but used old indexes :)  (renum all child of vertex to as id....id+k, sequencial indexes).

Edited by author 15.02.2012 18:35