Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: MrPian
Problemset: Level Up
Language: cpp
Time: 0.002 second
Submitted On: 2025-10-11 11:45:46
#include<iostream>
#include<iomanip>
#include<cmath>
using namespace std;
int main(){
int c,m,l;
cin >> c >> m >> l;
double term1 = (static_cast<double>(c) * c) + log(static_cast<double>(m) + 1.0);
double term2 = exp(static_cast<double>(l) / (static_cast<double>(c) + 1.0));
double power = ceil(term1 * term2);
cout << fixed << setprecision(2) << power << '\n';
return 0;
}