Task: | Pizzat |
Sender: | Interaalimato |
Submission time: | 2024-10-28 09:59:10 +0200 |
Language: | C++ (C++20) |
Status: | COMPILE ERROR |
Compiler report
input/code.cpp: In function 'int main()': input/code.cpp:11:18: error: 'floorf' is not a member of 'std' 11 | cout << std::floorf(div) << " " << std::ceilf(div) << "\n"; | ^~~~~~ input/code.cpp:11:45: error: 'ceilf' is not a member of 'std' 11 | cout << std::floorf(div) << " " << std::ceilf(div) << "\n"; | ^~~~~
Code
#include <iostream> using namespace std; int main() { int n, m, k; cin >> n >> m >> k; float palat = m * k; float div = palat / n; cout << std::floorf(div) << " " << std::ceilf(div) << "\n"; return 0; }