0_0_39076803_8805.cpp: In function 'double getMaxBeans(int, std::vector<int>&, std::vector<int>&)':
0_0_39076803_8805.cpp:11:13: error: 'canGetBeans' was not declared in this scope
11 | if (canGetBeans(M, beans, food, mid)) {
| ^~~~~~~~~~~
0_0_39076803_8805.cpp: In function 'int main()':
0_0_39076803_8805.cpp:35:26: error: 'setprecision' was not declared in this scope
35 | cout << fixed << setprecision(3) << getMaxBeans(M, beans, food) << endl;
| ^~~~~~~~~~~~
0_0_39076803_8805.cpp:4:1: note: 'std::setprecision' is defined in header '<iomanip>'; did you forget to '#include <iomanip>'?
3 | #include <cmath>
+++ |+#include <iomanip>
4 |
|