Please read the new rule regarding the restriction on the use of AI tools. It applies starting from round 972. ×

rishichowdhury711's blog

By rishichowdhury711, history, 2 months ago, In English

Hello Codeforces , I have a question regarding the problem D of the previous contest. I just solved the question using brute force and DSU and it got accepted. I dont understand why it is not giving TLE. It would be really helpful if you can please explain the reason for the code getting accepted or the testcases are weak. Thank you here is the Code

  • Vote: I like it
  • +3
  • Vote: I do not like it

»
2 months ago, # |
  Vote: I like it +32 Vote: I do not like it

done