Can anyone tell me what should i do to optimise my code

Revision en2, by remet91317, 2025-07-21 21:54:42

Hello seniors,

in recent codeforces round i had tried f and which was 329644155 and the question was 2126F - 1-1-1, Free Tree! giving tle on test case 51 please tell me i had tried gpt as well

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English remet91317 2025-07-21 21:54:42 40
en1 English remet91317 2025-07-21 21:54:03 295 Initial revision (published)