| Task: | Pizzat |
| Sender: | OorigamiK |
| Submission time: | 2024-11-05 11:45:23 +0200 |
| Language: | C++ (C++20) |
| Status: | COMPILE ERROR |
Compiler report
input/code.cpp: In function 'int main()':
input/code.cpp:6:22: error: 'floor' was not declared in this scope
6 | std::cout << floor(float(m * k) / n) << " " << ceil(float(m * k) / n) << std::endl;
| ^~~~~
input/code.cpp:6:56: error: 'ceil' was not declared in this scope
6 | std::cout << floor(float(m * k) / n) << " " << ceil(float(m * k) / n) << std::endl;
| ^~~~Code
#include <iostream>
int main()
{
int n,m,k;
std::cin >> n >> m >> k;
std::cout << floor(float(m * k) / n) << " " << ceil(float(m * k) / n) << std::endl;
}
