Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: Dark_kingdom
Problemset: นักบินอวกาศ
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-09 22:04:13
#include <iostream>
#include <cmath>
using namespace std;
int height(int t)
{
return 3*pow(t,2) + t;
}
int main()
{
int t;
cin>>t;
cout<<height(t);
return 0;
}