Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: 666whynot

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

Language: cpp

Time: 0.003 second

Submitted On: 2025-06-04 12:04:48

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

int main(){
  int t;
  cin >> t;
  cout << (t*4) + (3*t*(t-1));
}