stub.cpp: In function 'void run2()':
stub.cpp:101:30: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
101 | if (query_answers.size() != M) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/bin/ld: /tmp/ccTVii76.o: in function `save_to_floppy(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
stub.cpp:(.text+0x1a0): multiple definition of `save_to_floppy(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'; /tmp/cczU7Hf4.o:floppy.cpp:(.text+0x480): first defined here
/usr/bin/ld: /tmp/ccTVii76.o: in function `main':
stub.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cczU7Hf4.o:floppy.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cczU7Hf4.o: in function `save_to_floppy(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
floppy.cpp:(.text+0x4ba): undefined reference to `solve_queries(int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&)'
/usr/bin/ld: /tmp/cczU7Hf4.o: in function `main':
floppy.cpp:(.text.startup+0x1d): undefined reference to `read_array(int, std::vector<int, std::allocator<int> > const&)'
/usr/bin/ld: /tmp/ccTVii76.o: in function `run2()':
stub.cpp:(.text+0x698): undefined reference to `solve_queries(int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&)'
/usr/bin/ld: /tmp/ccTVii76.o: in function `run1()':
stub.cpp:(.text+0xb1d): undefined reference to `read_array(int, std::vector<int, std::allocator<int> > const&)'
collect2: error: ld returned 1 exit status