View Code of Problem 31

#include<stdio.h>
#include<string.h>
#include<math.h>
int main()
{
    
    long int k;
    while(scanf("%ld",&k)!=EOF&&k>=1){
    	long int i=23+105*(k-1);
    	printf("%ld\n",i );
    }

    return 0;
}

Double click to view unformatted code.


Back to problem 31