Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: Purin
Problemset: นักบินอวกาศ
Language: cpp
Time: 0.003 second
Submitted On: 2025-12-13 17:34:06
#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
cout << (((n-1)*3)+4)*n;
}