View Code of Problem 31

#include<stdio.h>
#include <math.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
#define Max 100
int main()
{
	long long sum,k;
	while(scanf("%lld",&k)!=EOF)
	{
		sum=23+105*(k-1);
		printf("%lld\n",sum);
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 31