test are are not passing but custom input is correct
Replace all in the string pi doubt
Hello @sk3657860,
This is because the output format of your program doesn’t match with that of the question.
The output for each testcase should be on a separate line.
Correction:
replaceAllPi(str,0);
cout<<str <<endl;
Hope, this would help.
Give alike if you are satisfied.
ooh
got it
thank you