Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: anonymous

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

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-01 12:40:29

#include <bits/stdc++.h>
using namespace std;

int main()
{
	ios_base::sync_with_stdio(0);
	cin.tie(0);
	int t;
	cin >> t;
	cout << t*(3*t+1);
	}