How to optimize the solution for the best time?

Revision en1, by FRB_MESSI_3MK, 2023-12-10 13:38:33

Problem Name:

1879B - Фишки на доске

Hello codeforces i have this problem that i've solved time ago but going through my submissions today i've found it and this is my sollution 226472257 but with 109MS time and 4700KB memory

is there any way to optimize it ?

Tags submissions, solution, optimization

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English FRB_MESSI_3MK 2023-12-10 13:38:33 363 Initial revision (published)