COCI '13 Contest 2 #5 Paleta

Revision en5, by viper1234, 2021-06-14 15:03:49

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?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English viper1234 2021-06-14 15:03:49 4 Tiny change: 't working.\nSoln lin' -> 't working.<br>\nSoln lin'
en4 English viper1234 2021-06-14 15:03:15 4 Tiny change: 'i13c2p5)\nI am stuck' -> 'i13c2p5)\n<br>I am stuck'
en3 English viper1234 2021-06-14 15:02:27 0 (published)
en2 English viper1234 2021-06-14 15:01:37 8 Tiny change: 'on't know my solution ' -> 'on't know why mine solution ' (saved to drafts)
en1 English viper1234 2021-06-14 15:00:44 314 Initial revision (published)