Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: eefirefire

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

Language: cpp

Time: 0.002 second

Submitted On: 2026-09-22 19:38:30

#include <iostream>
using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

    long long t;
    if (cin >> t) {
        long long ans = 3 * t * t + t;
        cout << ans << '\n';
    }
}