Tuesday, May 3, 2011

10696 - f91


#include<stdio.h>
int main()
{
    register int n;
    //freopen("in.txt","r",stdin);
    while(scanf("%d",&n)&&n)
    {
        printf("f91(%d) = ",n);
        if(n<=100)
            printf("91\n");
        else
            printf("%d\n",n-10);
    }
    return 0;
}

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.