Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: eeeeeeeeee
Problemset: นักบินอวกาศ
Language: cpp
Time: 0.004 second
Submitted On: 2026-09-25 10:17:07
#include<iostream>
#include<vector>
using namespace std;
int main(){
int a,b,c;
b = 0;
c = 2;
cin>>a;
for(int i = 0;i<a;i++){
b += c*2;
c += 3;
}
cout<<b;
}