Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

Spoj math1 please help

Revision en1, by baizhopa, 2023-10-11 06:27:26

https://www.spoj.com/problems/MATH1/ I need help, the tl is 20s, I assume the solution is n^3 with some dp, but don't know how to

Tags spoj, help me

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English baizhopa 2023-10-11 06:27:26 152 Initial revision (published)