0_0_38803369_2711.cpp: In lambda function:
0_0_38803369_2711.cpp:14:11: error: 'map' is not captured
14 | if (map.count(now)) return map[now];
| ^~~
0_0_38803369_2711.cpp:11:18: note: the lambda has no capture-default
11 | auto search = [](ll n) {
| ^
0_0_38803369_2711.cpp:10:31: note: 'std::unordered_map<long long int, int> map' declared here
10 | std::unordered_map<ll, int> map;
| ^~~
0_0_38803369_2711.cpp:14:34: error: 'map' is not captured
14 | if (map.count(now)) return map[now];
| ^~~
0_0_38803369_2711.cpp:11:18: note: the lambda has no capture-default
11 | auto search = [](ll n) {
| ^
0_0_38803369_2711.cpp:10:31: note: 'std::unordered_map<long long int, int> map' declared here
10 | std::unordered_map<ll, int> map;
| ^~~
0_0_38803369_2711.cpp:15:14: error: 'map' is not captured
15 | return map[now] = 1 + std::min(self(self, now / 3) + int(now % 3),
| ^~~
0_0_38803369_2711.cpp:11:18: note: the lambda has no capture-default
11 | auto search = [](ll n) {
| ^
0_0_38803369_2711.cpp:10:31: note: 'std::unordered_map<long long int, int> map' declared here
10 | std::unordered_map<ll, int> map;
| ^~~
|