What wrong in this code

what wrong in this code as my output is same as expected output

please reply quickly

@Adityakumar3112
The way you print output is wrong. You have to print β€œ#testcase_number : ans” not β€œ#n : ans”
So change line 45 to cout<<"#"<<i+1<<" : "<<c<<endl;

@Adityakumar3112
Also there is space between testcase number and : and c.