Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: Pera

Problemset: Level Up

Language: cpp

Time: 0.003 second

Submitted On: 2025-09-03 09:42:16

#include <bits/stdc++.h>
using namespace std;

int main() {
    ios_base::sync_with_stdio(false);

    int c, m, l;
    cin >> c >> m >> l;
    double power = ceil((static_cast<double>(c * c) + log(static_cast<double>(m) + 1)) * exp(static_cast<double>(l) / (c + 1.0)));
    cout << fixed << setprecision(2) << power << "\n";
}