stations.cpp: In function 'pii find(int)':
stations.cpp:39:17: error: 's' was not declared in this scope
39 | return {s >> 10, s & ((1 << 11) - 1)};
| ^
stations.cpp:39:45: error: could not convert '{<expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'pii' {aka 'std::pair<int, int>'}
39 | return {s >> 10, s & ((1 << 11) - 1)};
| ^
| |
| <brace-enclosed initializer list>
stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:43:31: error: 's' was not declared in this scope
43 | auto [in, out] = find(s);
| ^