Problem sandd
User kahchun
Submission Time 2023-11-14 09:26:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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