Record Detail

Runtime Error

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o P2.o -c P2.cpp 
P2.cpp: In function 'int main(int, const char**)':
P2.cpp:30:45: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
     cout<<"The order-"<<order<<" item is "<<result<<endl;
                                             ^~~~~~
g++ -g -Wall -O2 -o P2func.o -c P2func.cpp 
P2func.cpp: In function 'int P2partition_det(int*, int, int, int)':
P2func.cpp:68:23: warning: 'random' may be used uninitialized in this function [-Wmaybe-uninitialized]
     int pivot=a[random];
                       ^
g++ -g -Wall -O2 -o main P2.o P2func.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 3ms 480.0 KiB
#2 Accepted 2ms 676.0 KiB
#3 Accepted 2ms 480.0 KiB
#4 Accepted 3ms 480.0 KiB
#5 Accepted 2ms 576.0 KiB
#6 Accepted 3ms 484.0 KiB
#7 Accepted 3ms 560.0 KiB
#8 Accepted 2ms 632.0 KiB
#9 Accepted 3ms 516.0 KiB
#10 Runtime Error (-11) 3ms 632.0 KiB
#11 Accepted 3ms 608.0 KiB
#12 Accepted 2ms 740.0 KiB
#13 Accepted 2ms 592.0 KiB
#14 Accepted 2ms 632.0 KiB
#15 Accepted 3ms 828.0 KiB
#16 Accepted 3ms 632.0 KiB
#17 Accepted 3ms 492.0 KiB
#18 Accepted 3ms 504.0 KiB
#19 Accepted 3ms 644.0 KiB
#20 Accepted 4ms 672.0 KiB
#21 Accepted 5ms 564.0 KiB
#22 Accepted 5ms 580.0 KiB
#23 Accepted 8ms 720.0 KiB
#24 Accepted 8ms 684.0 KiB
#25 Accepted 14ms 932.0 KiB
#26 Accepted 14ms 760.0 KiB
#27 Accepted 30ms 1.023 MiB
#28 Accepted 32ms 996.0 KiB
#29 Accepted 59ms 1.117 MiB
#30 Accepted 59ms 1.227 MiB
#31 Accepted 116ms 1.539 MiB
#32 Accepted 124ms 1.441 MiB
#33 Accepted 285ms 2.684 MiB
#34 Accepted 291ms 2.75 MiB
#35 Accepted 588ms 4.48 MiB
#36 Accepted 587ms 5.074 MiB
#37 Accepted 1132ms 8.312 MiB
#38 Accepted 1153ms 9.645 MiB
#39 Accepted 2834ms 19.773 MiB
#40 Accepted 2900ms 23.477 MiB

Information

Submit By
Type
Submission
Homework
Project Two: Linear-Time Selection
Language
GNU Make
Submit At
2018-10-21 00:21:32
Judged At
2018-10-22 02:53:02
Judged By
Score
780
Total Time
10317ms
Peak Memory
23.477 MiB