View Code of Problem 31

#include<iostream>
using namespace std;

int main(void)
{
  long long sum,k;
  while(cin>>k)
  {
    sum=23+105*(k-1);
    cout<<sum<<endl;
  }
}

Double click to view unformatted code.


Back to problem 31