eastereggs.cpp: In function 'int main()':
eastereggs.cpp:89:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
89 | scanf ("%d", &N);
| ~~~~~~^~~~~~~~~~
eastereggs.cpp:95:11: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
95 | scanf ("%d %d", &x, &y);
| ~~~~~~^~~~~~~~~~~~~~~~~
eastereggs.cpp:100:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
100 | scanf ("%d", &Queries);
| ~~~~~~^~~~~~~~~~~~~~~~
eastereggs.cpp:103:11: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
103 | scanf ("%d", &X), cntQ = 0;
| ~~~~~~^~~~~~~~~~
/usr/bin/ld: /tmp/cc35IZbE.o: in function `query(std::vector<int, std::allocator<int> >)':
grader.cpp:(.text+0x0): multiple definition of `query(std::vector<int, std::allocator<int> >)'; /tmp/ccfplaGF.o:eastereggs.cpp:(.text+0x50): first defined here
/usr/bin/ld: /tmp/cc35IZbE.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccfplaGF.o:eastereggs.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status