getting wrong answer MAXCOUNT on codechef but getting correct answer on ideone please help
You have misused the memset() operator. Please, check that once.
And remove the endl after ans.
Thanks.
1 Like