vision.cpp: In function 'int add_and(std::vector<int>)':
vision.cpp:11:35: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, x, y) for(ll i=x; i<y; i++)
......
29 | FOR(i,0,a.size()){
| ~~~~~~~~~~~~
vision.cpp:29:2: note: in expansion of macro 'FOR'
29 | FOR(i,0,a.size()){
| ^~~
vision.cpp:11:35: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, x, y) for(ll i=x; i<y; i++)
......
32 | FOR(i,1,a.size()){
| ~~~~~~~~~~~~
vision.cpp:32:2: note: in expansion of macro 'FOR'
32 | FOR(i,1,a.size()){
| ^~~
vision.cpp: In function 'int add_xor(std::vector<int>)':
vision.cpp:11:35: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, x, y) for(ll i=x; i<y; i++)
......
39 | FOR(i,0,a.size()){
| ~~~~~~~~~~~~
vision.cpp:39:2: note: in expansion of macro 'FOR'
39 | FOR(i,0,a.size()){
| ^~~
vision.cpp:11:35: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, x, y) for(ll i=x; i<y; i++)
......
43 | FOR(i,1,a.size()){
| ~~~~~~~~~~~~
vision.cpp:43:2: note: in expansion of macro 'FOR'
43 | FOR(i,1,a.size()){
| ^~~
vision.cpp: In function 'int add_or(std::vector<int>)':
vision.cpp:11:35: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, x, y) for(ll i=x; i<y; i++)
......
50 | FOR(i,0,a.size()){
| ~~~~~~~~~~~~
vision.cpp:50:2: note: in expansion of macro 'FOR'
50 | FOR(i,0,a.size()){
| ^~~
vision.cpp:11:35: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define FOR(i, x, y) for(ll i=x; i<y; i++)
......
53 | FOR(i,1,a.size()){
| ~~~~~~~~~~~~
vision.cpp:53:2: note: in expansion of macro 'FOR'
53 | FOR(i,1,a.size()){
| ^~~
/usr/bin/ld: /tmp/cc4Y16KY.o: in function `add_and(std::vector<int, std::allocator<int> >)':
grader.cpp:(.text+0x210): multiple definition of `add_and(std::vector<int, std::allocator<int> >)'; /tmp/cc5lQkIY.o:vision.cpp:(.text+0x3d0): first defined here
/usr/bin/ld: /tmp/cc4Y16KY.o: in function `add_or(std::vector<int, std::allocator<int> >)':
grader.cpp:(.text+0x230): multiple definition of `add_or(std::vector<int, std::allocator<int> >)'; /tmp/cc5lQkIY.o:vision.cpp:(.text+0x490): first defined here
/usr/bin/ld: /tmp/cc4Y16KY.o: in function `add_xor(std::vector<int, std::allocator<int> >)':
grader.cpp:(.text+0x250): multiple definition of `add_xor(std::vector<int, std::allocator<int> >)'; /tmp/cc5lQkIY.o:vision.cpp:(.text+0x310): first defined here
/usr/bin/ld: /tmp/cc4Y16KY.o: in function `add_not(int)':
grader.cpp:(.text+0x270): multiple definition of `add_not(int)'; /tmp/cc5lQkIY.o:vision.cpp:(.text+0x550): first defined here
collect2: error: ld returned 1 exit status