rack.cpp: In function 'int32_t main()':
rack.cpp:11:3: error: 'function' was not declared in this scope
11 | function<int(int, int)> power = [&](int a, int b) {
| ^~~~~~~~
rack.cpp:4:1: note: 'std::function' is defined in header '<functional>'; did you forget to '#include <functional>'?
3 | #include <algorithm>
+++ |+#include <functional>
4 | using namespace std;
rack.cpp:6:13: error: expected primary-expression before 'long'
6 | #define int long long
| ^~~~
rack.cpp:11:12: note: in expansion of macro 'int'
11 | function<int(int, int)> power = [&](int a, int b) {
| ^~~
rack.cpp:6:13: error: expected primary-expression before 'long'
6 | #define int long long
| ^~~~
rack.cpp:21:12: note: in expansion of macro 'int'
21 | function<int(int, int)> f = [&](int n, int k) {
| ^~~
rack.cpp:30:11: error: 'f' was not declared in this scope
30 | cout << f(n, k) << '\n';
| ^