Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main.o -c main.cpp 
main.cpp: In function 'int partition1(int*, int, int)':
main.cpp:8:9: warning: unused variable 'p' [-Wunused-variable]
     int p=0;
         ^
main.cpp: In function 'int Rselect(int*, int, int)':
main.cpp:57:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
main.cpp: In function 'int Dselect(int*, int, int)':
main.cpp:219:5: warning: control reaches end of non-void function [-Wreturn-type]
     }
     ^
main.cpp:207:35: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
         int j=partition2(a,y,0,n-1);
                                   ^
g++ -g -Wall -O2 -o main main.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 3ms 732.0 KiB
#2 Accepted 3ms 552.0 KiB
#3 Accepted 2ms 708.0 KiB
#4 Accepted 2ms 560.0 KiB
#5 Accepted 2ms 632.0 KiB
#6 Accepted 2ms 464.0 KiB
#7 Accepted 2ms 464.0 KiB
#8 Accepted 3ms 712.0 KiB
#9 Accepted 3ms 628.0 KiB
#10 Accepted 3ms 692.0 KiB
#11 Accepted 2ms 632.0 KiB
#12 Accepted 3ms 500.0 KiB
#13 Accepted 3ms 560.0 KiB
#14 Accepted 2ms 708.0 KiB
#15 Accepted 3ms 684.0 KiB
#16 Accepted 3ms 732.0 KiB
#17 Accepted 3ms 492.0 KiB
#18 Accepted 3ms 680.0 KiB
#19 Accepted 3ms 712.0 KiB
#20 Accepted 4ms 500.0 KiB
#21 Accepted 5ms 608.0 KiB
#22 Accepted 6ms 712.0 KiB
#23 Accepted 8ms 672.0 KiB
#24 Accepted 8ms 756.0 KiB
#25 Accepted 14ms 740.0 KiB
#26 Accepted 14ms 780.0 KiB
#27 Accepted 31ms 868.0 KiB
#28 Accepted 33ms 1.0 MiB
#29 Accepted 60ms 1.141 MiB
#30 Accepted 62ms 1.18 MiB
#31 Accepted 115ms 1.566 MiB
#32 Accepted 123ms 1.703 MiB
#33 Accepted 283ms 2.699 MiB
#34 Accepted 303ms 3.727 MiB
#35 Accepted 563ms 4.469 MiB
#36 Accepted 592ms 7.062 MiB
#37 Accepted 1145ms 8.406 MiB
#38 Accepted 1200ms 13.461 MiB
#39 Accepted 2876ms 19.832 MiB
#40 Accepted 2995ms 32.695 MiB

Information

Submit By
Type
Submission
Homework
Project Two: Linear-Time Selection
Language
GNU Make
Submit At
2018-10-19 13:26:40
Judged At
2018-10-22 02:50:21
Judged By
Score
800
Total Time
10509ms
Peak Memory
32.695 MiB