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 1880. Psych Up's Eigenvalues

Test 4 and two more questions
Posted by Alexander Bondarenco 19 Dec 2014 03:51
What is test 4, there is a question about it but I don't understand the answer.
All the eigenvalues are positive integers not exceeding 10^9. Does it mean they are non-zeros? My solution assumes there are not zeros, maybe that's the cause of WA.
And why do I get compilation error using Visual C 2010? It's ignoring semicolons.
Re: Test 4 and two more questions
Posted by Alexander Bondarenco 19 Dec 2014 03:58
Sorry for this topic, I just initialized array to -1 instead of zero, and tested against it.