Please read the new rule regarding the restriction on the use of AI tools. ×

Adityaxv's blog

By Adityaxv, 5 hours ago, In English

1846C - Rudolf and the Another Competition

My Code

I don't know why my code is not working even though the approach is correct, and I don't see anything wrong with my code. Even the 10th test case where it failed should give the right answer, according to me. I would be grateful if you could find out where the error is.

  • Vote: I like it
  • -1
  • Vote: I do not like it