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