Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: anwaxu

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

Language: cpp

Time: 0.003 second

Submitted On: 2026-09-25 02:44:05

#include <bits/stdc++.h>
using namespace std;
int main() {
    int n;
    cin >> n;
    cout << 4+(n-1)*10+(n-1)*(n-2)*3;
}