Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: shurye

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

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-12 00:24:59

#include <iostream>
using namespace std;
int t;
int main(){
    cin >> t ;
    cout << 4+ (10*(t-1)) +(6*(((t-2)*(t-1))/2)) ;
}