My array is not getting printed. Can someone help?
problem : https://hack.codingblocks.com/app/contests/1945/1381/problem
Code : https://ide.codingblocks.com/s/370348
Replace all Pi (Recursion)
Hey @arunimakhanna11
int main() {
int n;
cin>>n;//u forgot this lol
char a[10000]; //increased size
while(n>0){
cin>>a;
replacePi(a, 0);
cout<<a<<endl;//added endl
n--;
}
return 0;
}
If this resolves your query then please mark it as resolved 
1 Like
Oh! How did I miss that. Thanks a lot 
1 Like