can you please tell which test case is not passed
Which test case is not passed
hey @1999atrijsharma
for(int i=0;i<10;i++) // Why are you hardcoded 10 tk always thori hoga
{ for(int j=i+1;j<10;j++)
{
val[j]=val[i]+val[j];
break;
}
}
correct code : https://ide.codingblocks.com/s/312529