Record Detail

Wrong Answer

prepare (1/3): 
finished

make (2/3): 
make: Entering directory '/out/build/driver'
clang -std=gnu11 -O2 -o driver driver.c
driver successfully constructed
make: Leaving directory '/out/build/driver'
make: Entering directory '/out/build/mumsh'
clang -std=gnu11 -O2 -Wall  -o mumsh main.c
main.c:47:17: warning: implicit declaration of function 'waitpid' is invalid in C99 [-Wimplicit-function-declaration]
            if (waitpid(background[i], NULL, WNOHANG)!=0) {
                ^
main.c:425:32: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration]
            while ( (finishPid=wait(NULL))!=-1){
                               ^
main.c:447:13: warning: implicit declaration of function 'waitpid' is invalid in C99 [-Wimplicit-function-declaration]
            waitpid(sonPid, NULL, WUNTRACED);
            ^
3 warnings generated.
clang -std=gnu11 -O2 -Wall  -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=integer -o mumsh_memory_check main.c
main.c:47:17: warning: implicit declaration of function 'waitpid' is invalid in C99 [-Wimplicit-function-declaration]
            if (waitpid(background[i], NULL, WNOHANG)!=0) {
                ^
main.c:425:32: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration]
            while ( (finishPid=wait(NULL))!=-1){
                               ^
main.c:447:13: warning: implicit declaration of function 'waitpid' is invalid in C99 [-Wimplicit-function-declaration]
            waitpid(sonPid, NULL, WUNTRACED);
            ^
3 warnings generated.
mumsh successfully constructed
make: Leaving directory '/out/build/mumsh'
finished

clean (3/3): 
finished

all tasks finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted Detail 2ms 1.328 MiB
#2 Accepted Detail 3ms 1.188 MiB
#3 Accepted Detail 7ms 1.723 MiB
#4 Accepted Detail 5ms 1.449 MiB
#5 Accepted Detail 2ms 1.332 MiB
#6 Accepted Detail 7ms 1.543 MiB
#7 Accepted Detail 4ms 1.387 MiB
#8 Accepted Detail 4ms 1.711 MiB
#9 Accepted Detail 5ms 1.797 MiB
#10 Accepted Detail 4ms 1.672 MiB
#11 Accepted Detail 3ms 1.652 MiB
#12 Accepted Detail 4ms 1.656 MiB
#13 Accepted Detail 7ms 1.828 MiB
#14 Accepted Detail 6ms 1.488 MiB
#15 Accepted Detail 3ms 1.645 MiB
#16 Accepted Detail 1ms 908.0 KiB
#17 Accepted Detail 2ms 948.0 KiB
#18 Accepted Detail 6ms 1.621 MiB
#19 Accepted Detail 4ms 1.531 MiB
#20 Accepted Detail 3ms 1.121 MiB
#21 Accepted Detail 2ms 596.0 KiB
#22 Accepted Detail 1ms 660.0 KiB
#23 Accepted Detail 7ms 2.5 MiB
#24 Accepted Detail 6ms 1.941 MiB
#25 Accepted Detail 13ms 1.773 MiB
#26 Accepted Detail 5ms 1.605 MiB
#27 Accepted Detail 6ms 1.613 MiB
#28 Wrong Answer Detail 5ms 1.309 MiB
#29 Wrong Answer Detail 2ms 1.258 MiB
#30 Accepted Detail 4ms 1.504 MiB
#31 Accepted Detail 7ms 1.672 MiB
#32 Accepted Detail 2ms 1.34 MiB
#33 Accepted Detail 2ms 1.293 MiB
#34 Accepted Detail 3ms 1.426 MiB
#35 Accepted Detail 3ms 1.887 MiB

Information

Submit By
Type
Submission
Homework
Project 1 Final Shell
Language
GNU Make
Submit At
2019-10-04 06:05:46
Judged At
2019-12-18 13:21:02
Judged By
Score
330
Total Time
170ms
Peak Memory
2.5 MiB