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 findPivot(int*, int, int)':
main.cpp:116:50: warning: 'tmpnum' may be used uninitialized in this function [-Wmaybe-uninitialized]
         else if(cnt == groupNum-1)  insertionSort(tmp[groupNum-1], tmpnum);
                                     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int deterSelection(int*, int, int)':
main.cpp:157:50: warning: 'tmpnum' may be used uninitialized in this function [-Wmaybe-uninitialized]
         else if(cnt == groupNum-1)  insertionSort(tmp[groupNum-1], tmpnum);
                                     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:195:49: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
     cout << "The order-" << i << " item is " << a << endl;
                                                 ^
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 652.0 KiB
#2 Accepted 3ms 608.0 KiB
#3 Accepted 3ms 564.0 KiB
#4 Accepted 2ms 580.0 KiB
#5 Accepted 2ms 480.0 KiB
#6 Accepted 2ms 632.0 KiB
#7 Accepted 3ms 716.0 KiB
#8 Accepted 3ms 520.0 KiB
#9 Accepted 3ms 480.0 KiB
#10 Accepted 3ms 588.0 KiB
#11 Accepted 2ms 636.0 KiB
#12 Accepted 3ms 464.0 KiB
#13 Accepted 3ms 632.0 KiB
#14 Accepted 3ms 628.0 KiB
#15 Accepted 3ms 588.0 KiB
#16 Accepted 3ms 468.0 KiB
#17 Accepted 3ms 612.0 KiB
#18 Accepted 3ms 556.0 KiB
#19 Accepted 4ms 628.0 KiB
#20 Accepted 4ms 808.0 KiB
#21 Accepted 5ms 792.0 KiB
#22 Accepted 6ms 720.0 KiB
#23 Accepted 8ms 736.0 KiB
#24 Accepted 9ms 700.0 KiB
#25 Accepted 14ms 832.0 KiB
#26 Accepted 15ms 940.0 KiB
#27 Accepted 31ms 916.0 KiB
#28 Accepted 33ms 904.0 KiB
#29 Accepted 60ms 1.098 MiB
#30 Accepted 63ms 1.234 MiB
#31 Accepted 117ms 1.605 MiB
#32 Accepted 126ms 2.086 MiB
#33 Accepted 283ms 2.551 MiB
#34 Accepted 304ms 4.699 MiB
#35 Accepted 561ms 4.68 MiB
#36 Accepted 601ms 8.938 MiB
#37 Accepted 1153ms 8.289 MiB
#38 Accepted 1214ms 17.359 MiB
#39 Accepted 2846ms 19.836 MiB
#40 Accepted 3042ms 42.52 MiB

Information

Submit By
Type
Submission
Homework
Project Two: Linear-Time Selection
Language
GNU Make
Submit At
2018-10-17 12:32:07
Judged At
2018-10-22 02:48:04
Judged By
Score
800
Total Time
10564ms
Peak Memory
42.52 MiB