reclusion's blog

By reclusion, history, 8 years ago, In English

Here's my code : http://pastebin.com/WPfr9ZX4

Initially all columns and rows have N items each. After item is placed on the grid I subtract 1 from all the columns and rows and update the result accordingly. On test 7 I get TLE. How can I make this faster?

My submission : http://mirror.codeforces.com/contest/701/submission/19371051

Full text and comments »

  • Vote: I like it
  • -3
  • Vote: I do not like it