sorting.cpp: In function 'int main()':
sorting.cpp:132:6: warning: declaration of 's' shadows a global declaration [-Wshadow]
132 | int s [] = {0,1,3,2};
| ^
sorting.cpp:9:14: note: shadowed declaration is here
9 | vector <int> s,x,y,p,q;
| ^
sorting.cpp:133:6: warning: declaration of 'x' shadows a global declaration [-Wshadow]
133 | int x [] = {0,0,1,0,0,0};
| ^
sorting.cpp:9:16: note: shadowed declaration is here
9 | vector <int> s,x,y,p,q;
| ^
sorting.cpp:134:6: warning: declaration of 'y' shadows a global declaration [-Wshadow]
134 | int y [] = {1,0,0,0,1,0};
| ^
sorting.cpp:9:18: note: shadowed declaration is here
9 | vector <int> s,x,y,p,q;
| ^
sorting.cpp:135:6: warning: declaration of 'p' shadows a global declaration [-Wshadow]
135 | int p [] = {0,0,0,0,0,0};
| ^
sorting.cpp:9:20: note: shadowed declaration is here
9 | vector <int> s,x,y,p,q;
| ^
sorting.cpp:136:6: warning: declaration of 'q' shadows a global declaration [-Wshadow]
136 | int q [] = {0,0,0,0,0,0};
| ^
sorting.cpp:9:22: note: shadowed declaration is here
9 | vector <int> s,x,y,p,q;
| ^
sorting.cpp:136:6: warning: unused variable 'q' [-Wunused-variable]
136 | int q [] = {0,0,0,0,0,0};
| ^
/usr/bin/ld: /tmp/ccKenTL3.o: in function `main':
grader.c:(.text.startup+0x0): multiple definition of `main'; /tmp/ccGvy4t4.o:sorting.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status