Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: SonnyHappy108

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

Language: cpp

Time: 0.002 second

Submitted On: 2026-04-11 11:11:34

#include <bits/stdc++.h>
using namespace std;
//done : 4
int main(){
	int t;
	cin >> t;
	cout << t*4+t*(t-1)*6/2;
}