Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: jamesz

Problemset: นักบินอวกาศ

Language: cpp

Time: 0.004 second

Submitted On: 2026-09-24 19:19:35

#include<bits/stdc++.h>
using namespace std;
int main(){
	int t;
	cin>>t;    //0 4 14 30 52 80  
	int g = t*(4+(3*(t-1)));
	cout<<g;
}