Who can help me solve this problem about GYM KTU DAY 2

Revision en1, by radical, 2015-09-25 08:23:35

The proble is here. here I have try my best to solve it.... But my method is too complex that got TLE. My code is here.

Tags gym, ktu

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English radical 2015-09-25 08:23:35 262 Initial revision (published)