Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: melbou
Problemset: นักบินอวกาศ
Language: cpp
Time: 0.002 second
Submitted On: 2025-12-10 20:01:20
#include <bits/stdc++.h>
using namespace std;
int main(){
int t=0;
int base = 4;
cin>>t;
if(t != 0 && t != 1)
{
for(int i=1;i<t;i++)
{
base = base + 3;
}
}
cout<<t * base;
return 0;
}