Anna.cpp:33:40: warning: bad option '-funroll-lopps' to pragma 'optimize' [-Wpragmas]
33 | #pragma GCC optimize ("03,unroll-lopps")
| ^
Anna.cpp:34:33: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
34 | long long Bruno( int N, int A[] ){
| ^
/usr/bin/ld: /tmp/ccXZgbeA.o: in function `main':
grader_anna.c:(.text.startup+0x10b): undefined reference to `Anna(int, long long, int, int*)'
collect2: error: ld returned 1 exit status
Bruno.cpp:33:40: warning: bad option '-funroll-lopps' to pragma 'optimize' [-Wpragmas]
33 | #pragma GCC optimize ("03,unroll-lopps")
| ^
Bruno.cpp:34:47: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
34 | void Anna( int N, long long X, int K, int P[] ){
| ^
Bruno.cpp: In function 'void Anna(int, long long int, int, int*)':
Bruno.cpp:37:7: warning: unused variable 'cur' [-Wunused-variable]
37 | int cur=0,pos=1;
| ^~~
Bruno.cpp:44:7: warning: unused variable 'cnt' [-Wunused-variable]
44 | int cnt=0;
| ^~~
/usr/bin/ld: /tmp/ccqNVzCh.o: in function `Anna(int, long long, int, int*)':
Bruno.cpp:(.text+0x13f): undefined reference to `Set(int, int)'
/usr/bin/ld: Bruno.cpp:(.text+0x215): undefined reference to `Set(int, int)'
/usr/bin/ld: Bruno.cpp:(.text+0x23d): undefined reference to `Set(int, int)'
/usr/bin/ld: Bruno.cpp:(.text+0x252): undefined reference to `Set(int, int)'
/usr/bin/ld: Bruno.cpp:(.text+0x283): undefined reference to `Set(int, int)'
/usr/bin/ld: /tmp/ccqNVzCh.o:Bruno.cpp:(.text+0x319): more undefined references to `Set(int, int)' follow
/usr/bin/ld: /tmp/ccZRtBBk.o: in function `main':
grader_bruno.cpp:(.text.startup+0x13d): undefined reference to `Bruno(int, int*)'
collect2: error: ld returned 1 exit status