Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: Krovmoroz

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

Language: cpp

Time: 0.003 second

Submitted On: 2025-11-06 11:31:55

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

int t;

int main() {
  ios::sync_with_stdio(false); cin.tie(nullptr);
  cin >> t;
  cout << 4*t + 3*(t-1)*t;
}