Problem sandd
User 12345
Submission Time 2025-04-12 11:32:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

/usr/bin/ld: /tmp/cchuvgeY.o: in function `demand(int)':
sandd.cpp:(.text+0x0): multiple definition of `demand(int)'; /tmp/ccjsqpXZ.o:grader.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/cchuvgeY.o:(.bss+0x4): multiple definition of `dcnt'; /tmp/ccjsqpXZ.o:(.bss+0xc): first defined here
/usr/bin/ld: /tmp/cchuvgeY.o:(.bss+0xc): multiple definition of `p'; /tmp/ccjsqpXZ.o:(.bss+0x4): first defined here
/usr/bin/ld: /tmp/cchuvgeY.o: in function `supply(int)':
sandd.cpp:(.text+0x30): multiple definition of `supply(int)'; /tmp/ccjsqpXZ.o:grader.cpp:(.text+0x50): first defined here
/usr/bin/ld: /tmp/cchuvgeY.o:(.bss+0x0): multiple definition of `scnt'; /tmp/ccjsqpXZ.o:(.bss+0x8): first defined here
/usr/bin/ld: /tmp/cchuvgeY.o: in function `main':
sandd.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccjsqpXZ.o:grader.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cchuvgeY.o:(.bss+0x8): multiple definition of `t'; /tmp/ccjsqpXZ.o