Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: Sol2468

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

Language: cpp

Time: 0.002 second

Submitted On: 2026-10-20 21:06:16

#include <iostream>
using namespace std ;

long long t ;

int main(){
    ios_base::sync_with_stdio(false) ;
    cin.tie(NULL) ;
    cin >> t ;
    long long temp = ((t-1)*3)+4 ;
    cout << t*temp ;
    return 0 ;
}