viper1234's blog

By viper1234, history, 7 weeks ago, In English

Guys Checkout this problem-https://dmoj.ca/problem/coci13c2p5
I am stuck in that I don't know why mine solution is not working.
Soln link-https://ideone.com/Mbki4p

Can anyone please tell me the correct solution for this?

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

»
7 weeks ago, # |
  Vote: I like it +1 Vote: I do not like it

Can anyone please tell me the correct solution for this?

Check this, contains the official editorial and c++ solutions.