I have got WA for this problem.Is there any trick with that problem?
can anyone please send some spical input for this problem?
my algorithom()
{
while(scanf("%ld",&n)!=EOF)
{
if(n==1)
{
print desired result;
}
else if(n==1)
{
print desired result;
}
else if(n==1)
{
print desired result;
}
.................................................
}
}
whats wrong with that?
