Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o p2.o -c p2.cpp 
p2.cpp: In function 'void insertionsort(int*, int, int)':
p2.cpp:25:6: warning: unused variable 'length' [-Wunused-variable]
  int length=right-left+1;
      ^~~~~~
p2.cpp: In function 'int mypartition(int*, int, int, int)':
p2.cpp:127:6: warning: unused variable 'length' [-Wunused-variable]
  int length=right-left+1;
      ^~~~~~
p2.cpp: In function 'int deterSel(int*, int, int, int)':
p2.cpp:187:5: warning: unused variable 'length' [-Wunused-variable]
 int length=right-left+1;
     ^~~~~~
p2.cpp: In function 'void mySel()':
p2.cpp:241:10: warning: variable 'start' set but not used [-Wunused-but-set-variable]
  clock_t start,end;
          ^~~~~
p2.cpp:241:16: warning: variable 'end' set but not used [-Wunused-but-set-variable]
  clock_t start,end;
                ^~~
p2.cpp: In function 'void check()':
p2.cpp:342:37: warning: 'qResult' may be used uninitialized in this function [-Wmaybe-uninitialized]
         if(rResult==dResult&&rResult==qResult) ifnsame=0;
                              ~~~~~~~^~~~~~~~~
p2.cpp:342:19: warning: 'dResult' may be used uninitialized in this function [-Wmaybe-uninitialized]
         if(rResult==dResult&&rResult==qResult) ifnsame=0;
            ~~~~~~~^~~~~~~~~
g++ -g -Wall -O2 -o main p2.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 3ms 592.0 KiB
#2 Accepted 3ms 588.0 KiB
#3 Accepted 3ms 464.0 KiB
#4 Accepted 3ms 752.0 KiB
#5 Accepted 3ms 500.0 KiB
#6 Accepted 2ms 564.0 KiB
#7 Accepted 3ms 612.0 KiB
#8 Accepted 3ms 632.0 KiB
#9 Accepted 3ms 604.0 KiB
#10 Accepted 3ms 536.0 KiB
#11 Accepted 3ms 580.0 KiB
#12 Accepted 3ms 480.0 KiB
#13 Accepted 3ms 536.0 KiB
#14 Accepted 3ms 464.0 KiB
#15 Accepted 3ms 604.0 KiB
#16 Accepted 3ms 588.0 KiB
#17 Accepted 3ms 568.0 KiB
#18 Accepted 4ms 716.0 KiB
#19 Accepted 4ms 560.0 KiB
#20 Accepted 4ms 560.0 KiB
#21 Accepted 6ms 536.0 KiB
#22 Accepted 6ms 628.0 KiB
#23 Accepted 8ms 704.0 KiB
#24 Accepted 9ms 816.0 KiB
#25 Accepted 14ms 920.0 KiB
#26 Accepted 16ms 764.0 KiB
#27 Accepted 30ms 928.0 KiB
#28 Accepted 33ms 872.0 KiB
#29 Accepted 60ms 1004.0 KiB
#30 Accepted 62ms 1.191 MiB
#31 Accepted 119ms 1.562 MiB
#32 Accepted 122ms 1.512 MiB
#33 Accepted 280ms 2.734 MiB
#34 Accepted 300ms 2.879 MiB
#35 Accepted 575ms 4.562 MiB
#36 Accepted 596ms 5.18 MiB
#37 Accepted 1148ms 8.355 MiB
#38 Accepted 1173ms 10.055 MiB
#39 Accepted 2846ms 19.773 MiB
#40 Accepted 3009ms 24.344 MiB

Information

Submit By
Type
Submission
Homework
Project Two: Linear-Time Selection
Language
GNU Make
Submit At
2018-10-21 14:08:56
Judged At
2018-10-22 02:53:58
Judged By
Score
800
Total Time
10490ms
Peak Memory
24.344 MiB