Problem prisoners
User nmluan
Submission Time 2026-04-27 11:43:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

/usr/bin/ld: /tmp/ccKWG5Lz.o: in function `main':
grader.cpp:(.text.startup+0xc1): undefined reference to `swapper(int, int*)'
/usr/bin/ld: grader.cpp:(.text.startup+0x141): undefined reference to `prisoner(int, int)'
/usr/bin/ld: /tmp/ccifnVXx.o: in function `swapper(long long, long long*)':
swapper.cpp:(.text+0x257): undefined reference to `swapKeys(long long, long long)'
/usr/bin/ld: /tmp/ccRIbRsz.o: in function `prisoner(long long, long long)':
prisoner.cpp:(.text+0x1e): undefined reference to `openBox(long long)'
/usr/bin/ld: prisoner.cpp:(.text+0x38): undefined reference to `openBox(long long)'
/usr/bin/ld: prisoner.cpp:(.text+0x54): undefined reference to `openBox(long long)'
collect2: error: ld returned 1 exit status