Submission
Status:
[PPPPPPPPPP]
Score: 100
User: brightokung
Problemset: นักบินอวกาศ
Language: cpp
Time: 0.002 second
Submitted On: 2024-12-09 20:32:47
#include<iostream>
using namespace std;
int main()
{
int n;
cin >> n;
cout << 4*n+3*n*(n-1);
}