HackerRank Problem

Revision en1, by 3905, 2015-07-05 20:00:15

I was trying to solve this problem .I read the editorial here but I am unable to figure out why C(i) = sum of C(j) just on the property that C(i) is in between 0 & M — 1 && that M divides (C(i) — sum of C(j)). If someone can help it will be highly appreciated. Thanx.

Tags gaussian elimination

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English 3905 2015-07-05 20:00:15 465 Initial revision (published)