Wednesday, October 8, 2014

ACM 1925. British Scientists Save the World / О заслуге британских учёных

  Just loop over both columns and calculate the sum of each, then add the K number and then check if the sum of the first column is greater or equal then the sum of the left column plus the additional (N+1) 2s which we needed to consider initially.


       FULL SOURCE CODE

No comments:

Post a Comment