Record Detail

Runtime Error

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main.o -c main.cpp
main.cpp: In function 'void partitionning(int*, int, int, int, int)':
main.cpp:113:34: warning: left operand of comma operator has no effect [-Wunused-value]
        for (i1 = 0, j1 = n-1; i1 < n, j1 >= 0; i1++, j1--)
                               ~~~^~~
main.cpp: In function 'int main()':
main.cpp:44:15: warning: 'pivot' may be used uninitialized in this function [-Wmaybe-uninitialized]
 partitionning (a, n, i, sortingmethod, pivot);
 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -g -Wall -O2 -o main main.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Wrong Answer 3ms 604.0 KiB
#2 Runtime Error (-11) 3ms 632.0 KiB
#3 Wrong Answer 3ms 504.0 KiB
#4 Runtime Error (-11) 3ms 628.0 KiB
#5 Wrong Answer 3ms 480.0 KiB
#6 Runtime Error (-11) 3ms 544.0 KiB

Information

Submit By
Type
Submission
Homework
Project Two: Linear-Time Selection
Language
GNU Make
Submit At
2018-10-24 23:36:58
Judged At
2018-10-24 23:36:58
Judged By
Score
0
Total Time
19ms
Peak Memory
632.0 KiB