Codeforces and Polygon may be unavailable from December 6, 19:00 (UTC) to December 6, 21:00 (UTC) due to technical maintenance. ×

Need help in ROCK(SPOJ).

Revision en1, by fane_faiz, 2017-08-16 05:20:22

Here is the link to problem ROCK, and here is the link to my solution ,**I tried all testcases possible and answers are correct**.Can anyone please tell why it's giving WA. Thanks in advance.

Tags spoj, dynamic programming

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English fane_faiz 2017-08-16 05:22:40 5 Tiny change: '**I tried all testcases' -> '**I tried many testcases'
en1 English fane_faiz 2017-08-16 05:20:22 282 Initial revision (published)