This is the link of gennady’s AC solution - https://www.codechef.com/viewsolution/17472724
Because he is Gennady
Yeah even @anon55659401 will pass it in 0.01 secs
It depends on who you are XD
There is some error in your code, fast i/o is used for decreasing time but in your case its actually increasing it. You need not to include it multiple time.
Also you must initialize your “co” variable with value 1. This is responsible for WA verdict.
Sir sir sir thanks for help but post wast months old and now I know reason it was because of slow i/o.
I have seen it in recent time, replied as soon as I found some error. Learning a lesson a month later is better than never.
there isn’t a anyway to close the topic after getting required answer?
Yes you can(maybe).But it’s not required.