Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: PROb221

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

Language: cpp

Time: 0.003 second

Submitted On: 2025-10-04 17:31:20

//bkk67 ข้อ3
#include <iostream>
using namespace std;

int main() 
{
    //1 4
    //2 7
    //3 10
    //4 13
    int t;
    cin >> t;
    cout << t*(t*3+1);
    return 0;
}