Mathematician Problem

Not able to get answer on the output screen please help

hello @Sfo_2302
pls save ur code here-> https://ide.codingblocks.com/
and share the link with me

hello @Sfo_2302
declare string c of size n. like
string c(n,’ ');
and then try.
also remove unecessary cout statements before submittin the code

its showing error.Can you make changes in my code and reflect my mistakes?


check now.

used cout<<c; for printing string.

declare ur string like this.

the above code is failing for test case 0

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.