Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: Some1258

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

Language: cpp

Time: 0.003 second

Submitted On: 2026-05-02 22:45:39

#include<iostream>
using namespace std;
int main(){
    int x;
    cin>>x;
    int y=x-1;
    int num=4+(4*y+3*(y*(y+1)));
    cout<<num;
}