Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: sulinx
Problemset: นักบินอวกาศ
Language: cpp
Time: 0.002 second
Submitted On: 2025-10-24 18:22:08
#include <bits/stdc++.h>
using namespace std;
int main(){
int t,c = 4,h = 0;
cin >> t;
for(int i = 0;i<t;i++){
h+=c;
c+=6;
}
cout << h;
}