View Code of Problem 31

#include <iostream>
#include <cstdio>
using namespace std;
int main(){
    int k,sum;
    while(cin>>k){
        sum=23+(k-1)*105;
        cout<<sum<<endl;
    }
    return 0;
}

Double click to view unformatted code.


Back to problem 31