Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: IIIIIIIIIIII

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

Language: cpp

Time: 0.005 second

Submitted On: 2026-10-09 18:18:14

#include <iostream>
using namespace std;

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