Submission #634418

#TimeUsernameProblemLanguageResultExecution timeMemory
634418ahmed_shafikReversing a Sequence (IOI16_reverse)C++17
Compilation error
0 ms0 KiB
long long rev(long long a[],long long i) { if(i<0) { return 0; } else { return a[i-1]; } }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccLf1YgN.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