rminuv372's blog

By rminuv372, 12 years ago, In English
Who can tell me the correct solution about it.
I find almost more than half of the Accepted solution didn't passed my case
12
-5 0
2 3 4 5 6 7 8 9 10 11

13
-5 0
2 3 4 5 6 7 8 9 10 11 15

18
-10 -5 0
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

19
-10 -5 0
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 20

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By rminuv372, 13 years ago, In English
http://codeforces.com/problemset/problem/28/B
The writer provides a simple solution,but I don't know how to prove the solution is correct. Who can explain it?

Full text and comments »

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