Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: erng

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

Language: cpp

Time: 0.002 second

Submitted On: 2025-10-06 15:07:54

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

int n;
int main()
{
    cin>>n;
    n=n*(n*3+1);
    cout<<n;

}