Problem ping
User bensonlzl
Submission Time 2022-12-22 21:53:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

/usr/bin/ld: /tmp/cc5ImiZI.o: in function `print_WA(int)':
ping.cpp:(.text+0x0): multiple definition of `print_WA(int)'; /tmp/ccwF2g3L.o:grader.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/cc5ImiZI.o: in function `ping(int)':
ping.cpp:(.text+0x70): multiple definition of `ping(int)'; /tmp/ccwF2g3L.o:grader.cpp:(.text+0x70): first defined here
/usr/bin/ld: /tmp/cc5ImiZI.o: in function `main':
ping.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccwF2g3L.o:grader.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status