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 29ms 5.754 MiB
#2 Accepted Detail 18ms 5.746 MiB
#3 Accepted Detail 68ms 6.238 MiB
#4 Accepted Detail 54ms 6.285 MiB
#5 Accepted Detail 30ms 5.746 MiB
#6 Accepted Detail 71ms 6.602 MiB
#7 Accepted Detail 34ms 5.961 MiB
#8 Accepted Detail 57ms 6.07 MiB
#9 Accepted Detail 47ms 6.262 MiB
#10 Accepted Detail 58ms 5.922 MiB
#11 Accepted Detail 29ms 6.078 MiB
#12 Accepted Detail 39ms 6.742 MiB
#13 Accepted Detail 82ms 5.941 MiB
#14 Accepted Detail 54ms 6.262 MiB
#15 Accepted Detail 82ms 6.156 MiB
#16 Accepted Detail 22ms 5.215 MiB
#17 Accepted Detail 21ms 5.309 MiB
#18 Accepted Detail 53ms 5.969 MiB
#19 Accepted Detail 39ms 6.227 MiB
#20 Accepted Detail 26ms 5.934 MiB
#21 Accepted Detail 13ms 4.324 MiB
#22 Accepted Detail 13ms 4.359 MiB
#23 Accepted Detail 71ms 7.773 MiB
#24 Accepted Detail 85ms 7.164 MiB
#25 Accepted Detail 128ms 6.805 MiB
#26 Accepted Detail 56ms 6.34 MiB
#27 Accepted Detail 76ms 6.68 MiB
#28 Wrong Answer Detail 134ms 6.055 MiB
#29 Wrong Answer Detail 69ms 5.758 MiB
#30 Accepted Detail 82ms 6.645 MiB
#31 Accepted Detail 84ms 5.859 MiB
#32 Accepted Detail 28ms 5.488 MiB
#33 Accepted Detail 26ms 5.66 MiB
#34 Accepted Detail 26ms 5.996 MiB
#35 Accepted Detail 33ms 6.379 MiB

Information

Submit By
Type
Submission
Homework
Project 1 Final Shell
Language
GNU Make
Submit At
2019-10-04 06:06:18
Judged At
2019-12-18 13:36:27
Judged By
Score
330
Total Time
1856ms
Peak Memory
7.773 MiB