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 1507. Difficult Decision

WA 33
Posted by George_Aloyan[PTS Obninsk] 1 Apr 2012 19:32
Just "norm" matrix after every calculating (a[i][j] make 1 if it was positive) or you will have overflow
Re: WA 33
Posted by Smilodon_am [Obninsk INPE] 2 Apr 2012 11:51
You can only use matrix with boolean values, it looks more efficient and spectacular.