reverse.cpp: In function 'auto reverse(long long int*)':
reverse.cpp:20:11: warning: address of local variable 'res' returned [-Wreturn-local-addr]
20 | return res;
| ^~~
reverse.cpp:16:7: note: declared here
16 | ll res[n];
| ^~~
/usr/bin/ld: /tmp/ccwlhRm4.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cc5Agd32.o:reverse.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccwlhRm4.o: in function `main':
grader.cpp:(.text.startup+0x17d): undefined reference to `reverse(std::vector<long long, std::allocator<long long> >)'
collect2: error: ld returned 1 exit status