Record Detail

Runtime Error

prepare (1/4): 
finished

cmake (2/4): 
-- The C compiler identification is Clang 6.0.0
-- The CXX compiler identification is Clang 6.0.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /out/build
finished

make (3/4): 
Scanning dependencies of target driver
[ 16%] Building C object CMakeFiles/driver.dir/driver.c.o
[ 33%] Linking C executable driver
[ 33%] Built target driver
Scanning dependencies of target mumsh
[ 50%] Building C object mumsh/CMakeFiles/mumsh.dir/main.c.o
/in/main.c:45:9: warning: unused variable 'i' [-Wunused-variable]
    int i=1,j=0,pointerindex[20],commandnumber=info->command_number;
        ^
/in/main.c:45:13: warning: unused variable 'j' [-Wunused-variable]
    int i=1,j=0,pointerindex[20],commandnumber=info->command_number;
            ^
/in/main.c:45:17: warning: unused variable 'pointerindex' [-Wunused-variable]
    int i=1,j=0,pointerindex[20],commandnumber=info->command_number;
                ^
/in/main.c:45:34: warning: unused variable 'commandnumber' [-Wunused-variable]
    int i=1,j=0,pointerindex[20],commandnumber=info->command_number;
                                 ^
/in/main.c:44:24: warning: unused parameter 'command' [-Wunused-parameter]
void pipe_command(char command[],struct parse_info *info){
                       ^
/in/main.c:57:26: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    char argv[512][512]={0};
                         ^
                         {}
6 warnings generated.
[ 66%] Linking C executable mumsh
[ 66%] Built target mumsh
Scanning dependencies of target mumsh_memory_check
[ 83%] Building C object mumsh/CMakeFiles/mumsh_memory_check.dir/main.c.o
/in/main.c:45:9: warning: unused variable 'i' [-Wunused-variable]
    int i=1,j=0,pointerindex[20],commandnumber=info->command_number;
        ^
/in/main.c:45:13: warning: unused variable 'j' [-Wunused-variable]
    int i=1,j=0,pointerindex[20],commandnumber=info->command_number;
            ^
/in/main.c:45:17: warning: unused variable 'pointerindex' [-Wunused-variable]
    int i=1,j=0,pointerindex[20],commandnumber=info->command_number;
                ^
/in/main.c:45:34: warning: unused variable 'commandnumber' [-Wunused-variable]
    int i=1,j=0,pointerindex[20],commandnumber=info->command_number;
                                 ^
/in/main.c:44:24: warning: unused parameter 'command' [-Wunused-parameter]
void pipe_command(char command[],struct parse_info *info){
                       ^
/in/main.c:57:26: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    char argv[512][512]={0};
                         ^
                         {}
6 warnings generated.
[100%] Linking C executable mumsh_memory_check
[100%] Built target mumsh_memory_check
finished

clean (4/4): 
finished

all tasks finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted Detail 14ms 4.547 MiB
#2 Runtime Error (1) Detail 18ms 5.711 MiB
#3 Runtime Error (1) Detail 18ms 5.535 MiB
#4 Runtime Error (1) Detail 23ms 5.773 MiB
#5 Runtime Error (1) Detail 18ms 5.574 MiB
#6 Runtime Error (1) Detail 17ms 5.617 MiB
#7 Runtime Error (1) Detail 26ms 5.961 MiB
#8 Runtime Error (1) Detail 24ms 5.832 MiB
#9 Runtime Error (1) Detail 22ms 5.523 MiB
#10 Runtime Error (1) Detail 23ms 5.68 MiB
#11 Runtime Error (1) Detail 22ms 5.652 MiB
#12 Runtime Error (1) Detail 24ms 5.773 MiB
#13 Runtime Error (1) Detail 26ms 5.945 MiB
#14 Runtime Error (1) Detail 26ms 5.723 MiB
#15 Runtime Error (1) Detail 33ms 6.062 MiB
#16 Runtime Error (1) Detail 33ms 6.051 MiB
#17 Runtime Error (1) Detail 33ms 5.957 MiB
#18 Runtime Error (1) Detail 33ms 5.941 MiB

Information

Submit By
Type
Submission
Homework
Project 1 Stage 2
Language
CMake
Submit At
2018-10-07 02:45:14
Judged At
2018-10-07 02:45:14
Judged By
Score
10
Total Time
442ms
Peak Memory
6.062 MiB