/usr/bin/ld: /tmp/ccMeYAPP.o: in function `energy(long long, std::vector<long long, std::allocator<long long> >)':
rotate.cpp:(.text+0xd21): undefined reference to `rotate(std::vector<long long, std::allocator<long long> >, long long)'
/usr/bin/ld: rotate.cpp:(.text+0xdf1): undefined reference to `rotate(std::vector<long long, std::allocator<long long> >, long long)'
/usr/bin/ld: rotate.cpp:(.text+0x1051): undefined reference to `rotate(std::vector<long long, std::allocator<long long> >, long long)'
/usr/bin/ld: rotate.cpp:(.text+0x1169): undefined reference to `rotate(std::vector<long long, std::allocator<long long> >, long long)'
/usr/bin/ld: rotate.cpp:(.text+0x11f1): undefined reference to `rotate(std::vector<long long, std::allocator<long long> >, long long)'
/usr/bin/ld: /tmp/ccMeYAPP.o:rotate.cpp:(.text+0x1271): more undefined references to `rotate(std::vector<long long, std::allocator<long long> >, long long)' follow
/usr/bin/ld: /tmp/ccDFosq1.o: in function `main':
grader.cpp:(.text.startup+0x294): undefined reference to `energy(int, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status