View Code of Problem 31

#include<stdlib.h>
#include<stdio.h>

int main(){
	int n,count=0;
	int num[10000]={0};
	while((scanf("%d",&n)!=EOF)){
		long long count = 105 * (n-1) + 23;
		printf("%d\n",count);

	
	
	
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 31