aliens.cpp: In function 'int main()':
aliens.cpp:64:20: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
64 | auto const [objective_val, cnt] = cht(l, lambda);
| ^
aliens.cpp:65:17: warning: comparison of integer expressions of different signedness: 'std::tuple_element<1, const std::pair<long int, long int> >::type' {aka 'const long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
65 | if (cnt > k)
| ~~~~^~~
aliens.cpp:70:16: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
70 | auto const [objective_val, cnt] = cht(l, u);
| ^
aliens.cpp: In function 'std::pair<long int, long int> cht(size_t, int64_t)':
aliens.cpp:23:22: warning: control reaches end of non-void function [-Wreturn-type]
23 | deque<linear_fn> q;
| ^
/usr/bin/ld: /tmp/ccB9Ne4k.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccRF76pl.o:aliens.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccB9Ne4k.o: in function `main':
grader.cpp:(.text.startup+0xf0): undefined reference to `take_photos(int, int, int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status