Need help with Educational Codeforces Round 133 C and D

Revision en1, by strawhatdragon, 2022-08-06 07:29:27

I am getting TLE for C and D. Any hints ?

My Submission for C My Submission for D

Tags help, tle

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English strawhatdragon 2022-08-06 07:29:27 260 Initial revision (published)