Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: IKKIWPR
Problemset: นักบินอวกาศ
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-08 06:21:15
#include<bits/stdc++.h>
using namespace std;
int main(){
int t;
cin >> t;
int mul = 1;
int h;
for(int i = 0;i<=t;i++){
h = mul*t;
mul+=3;
}
cout <<h;
return 0;
}