Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: pottersk146
Problemset: นักบินอวกาศ
Language: cpp
Time: 0.003 second
Submitted On: 2026-10-12 19:20:21
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main(){
ios::sync_with_stdio(false);
cin.tie(nullptr);
ll t, time=0;
cin>>t;
for (int i=1; i<=t; i++){
time+=6*i-2;
}
cout<<time;
}