Problem minstack
User ashgreninja1006
Submission Time 2025-07-12 19:38:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

/usr/bin/ld: /tmp/ccqPSmfm.o: in function `main':
minstack.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccJVVUKm.o:grader.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccqPSmfm.o:(.bss+0x0): multiple definition of `Q'; /tmp/ccJVVUKm.o:(.bss+0x0): first defined here
/usr/bin/ld: /tmp/ccJVVUKm.o: in function `main':
grader.cpp:(.text.startup+0x5b): undefined reference to `getMin()'
/usr/bin/ld: grader.cpp:(.text.startup+0xb3): undefined reference to `push(int)'
/usr/bin/ld: grader.cpp:(.text.startup+0xc1): undefined reference to `top()'
/usr/bin/ld: grader.cpp:(.text.startup+0xd1): undefined reference to `pop()'
/usr/bin/ld: /tmp/ccqPSmfm.o: in function `main':
minstack.cpp:(.text.startup+0x5b): undefined reference to `getMin()'
/usr/bin/ld: minstack.cpp:(.text.startup+0xb3): undefined reference to `push(int)'
/usr/bin/ld: minstack.cpp:(.text.startup+0xc1): undefined reference to `top()'
/usr/bin/ld: minstack.cpp:(.text.