Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: sakurajima
Problemset: นักบินอวกาศ
Language: cpp
Time: 0.002 second
Submitted On: 2026-09-22 21:56:58
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
double time;
cin >> time;
double height = (time / 2) * (8 + (time - 1) * 6);
cout << height;
}