Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main main.cpp selection.cpp
selection.cpp: In function 'int partitioning_inplace_d(int*, int, int, int)':
selection.cpp:68:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
selection.cpp: In function 'int partitioning_inplace(int*, int, int)':
selection.cpp:124:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
selection.cpp: In function 'int Dselect(int*, int, int)':
selection.cpp:39:56: warning: 'pivotat' may be used uninitialized in this function [-Wmaybe-uninitialized]
     else return Dselect(array+pivotat+1, n-pivotat-1, i-pivotat-1);
                                                       ~^~~~~~~~
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 2ms 552.0 KiB
#2 Accepted 3ms 532.0 KiB
#3 Accepted 3ms 568.0 KiB
#4 Accepted 3ms 560.0 KiB
#5 Accepted 3ms 512.0 KiB
#6 Accepted 3ms 480.0 KiB
#7 Accepted 3ms 544.0 KiB
#8 Accepted 3ms 600.0 KiB
#9 Accepted 3ms 548.0 KiB
#10 Accepted 3ms 496.0 KiB
#11 Accepted 3ms 680.0 KiB
#12 Accepted 3ms 468.0 KiB
#13 Accepted 3ms 636.0 KiB
#14 Accepted 2ms 480.0 KiB
#15 Accepted 3ms 604.0 KiB
#16 Accepted 3ms 580.0 KiB
#17 Accepted 3ms 688.0 KiB
#18 Accepted 3ms 564.0 KiB
#19 Accepted 4ms 672.0 KiB
#20 Accepted 4ms 664.0 KiB
#21 Accepted 5ms 696.0 KiB
#22 Accepted 6ms 516.0 KiB
#23 Accepted 8ms 676.0 KiB
#24 Accepted 8ms 688.0 KiB
#25 Accepted 14ms 824.0 KiB
#26 Accepted 15ms 964.0 KiB
#27 Accepted 32ms 988.0 KiB
#28 Accepted 33ms 1.016 MiB
#29 Accepted 59ms 1.16 MiB
#30 Accepted 62ms 1.133 MiB
#31 Accepted 113ms 1.582 MiB
#32 Accepted 121ms 1.488 MiB
#33 Accepted 283ms 2.625 MiB
#34 Accepted 301ms 2.867 MiB
#35 Accepted 570ms 4.453 MiB
#36 Accepted 593ms 5.277 MiB
#37 Accepted 1106ms 8.336 MiB
#38 Accepted 1189ms 9.973 MiB
#39 Accepted 2839ms 19.836 MiB
#40 Accepted 3012ms 24.273 MiB

Information

Submit By
Type
Submission
Homework
Project Two: Linear-Time Selection
Language
GNU Make
Submit At
2018-10-21 15:37:55
Judged At
2018-10-22 02:54:18
Judged By
Score
800
Total Time
10444ms
Peak Memory
24.273 MiB