Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main.o -c main.cpp 
main.cpp: In member function 'void Stock::printTimeTraveler() const':
main.cpp:513:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (minSell < 0 || minSell > trade->price) {
                       ~~~~~~~~^~~~~~~~~~~~~~
main.cpp: In instantiation of 'Median<TYPE, AVERAGE, COMP>::Median(AVERAGE, COMP) [with TYPE = long unsigned int; AVERAGE = MedianAverage<long unsigned int>; COMP = std::less<long unsigned int>]':
main.cpp:326:32:   required from here
main.cpp:74:10: warning: 'Median<long unsigned int>::average' will be initialized after [-Wreorder]
  AVERAGE average; 
          ^~~~~~~
main.cpp:72:43: warning:   'std::priority_queue<long unsigned int, std::vector<long unsigned int, std::allocator<long unsigned int> >, std::less<long unsigned int> > Median<long unsigned int>::MaxQueue' [-Wreorder]
  priority_queue<TYPE, vector<TYPE>, COMP> MaxQueue;
                                           ^~~~~~~~
main.cpp:28:11: warning:   when initialized here [-Wreorder]
  explicit Median(AVERAGE average = AVERAGE(), COMP compare = COMP()) :
           ^~~~~~
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 2ms 388.0 KiB
#2 Accepted 2ms 376.0 KiB
#3 Accepted 2ms 388.0 KiB
#4 Accepted 2ms 420.0 KiB
#5 Accepted 61ms 896.0 KiB
#6 Accepted 2ms 448.0 KiB
#7 Accepted 2ms 392.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 2ms 444.0 KiB
#10 Accepted 2ms 384.0 KiB
#11 Accepted 2ms 436.0 KiB
#12 Accepted 2ms 440.0 KiB
#13 Accepted 3ms 464.0 KiB
#14 Accepted 2ms 424.0 KiB
#15 Accepted 2ms 376.0 KiB
#16 Accepted 3ms 424.0 KiB
#17 Accepted 5ms 512.0 KiB
#18 Accepted 5ms 492.0 KiB
#19 Accepted 3ms 384.0 KiB
#20 Accepted 2ms 476.0 KiB
#21 Accepted 4ms 472.0 KiB
#22 Accepted 9ms 580.0 KiB
#23 Accepted 11ms 532.0 KiB
#24 Accepted 4ms 552.0 KiB
#25 Accepted 4ms 512.0 KiB
#26 Accepted 18ms 896.0 KiB
#27 Accepted 62ms 932.0 KiB
#28 Accepted 72ms 928.0 KiB
#29 Accepted 11ms 892.0 KiB
#30 Accepted 14ms 840.0 KiB
#31 Accepted 30ms 1.312 MiB
#32 Accepted 245ms 1.387 MiB
#33 Accepted 39ms 1.359 MiB
#34 Accepted 22ms 1.324 MiB
#35 Accepted 66ms 2.367 MiB
#36 Accepted 43ms 2.219 MiB
#37 Accepted 57ms 2.324 MiB
#38 Accepted 55ms 4.84 MiB
#39 Accepted 68ms 4.859 MiB
#40 Accepted 71ms 5.152 MiB
#41 Accepted 801ms 18.219 MiB
#42 Accepted 588ms 18.199 MiB
#43 Accepted 2432ms 45.324 MiB
#44 Accepted 1776ms 45.324 MiB
#45 Accepted 5380ms 88.117 MiB
#46 Accepted 3910ms 88.098 MiB
#47 Accepted 2211ms 42.953 MiB
#48 Accepted 2830ms 42.973 MiB
#49 Accepted 1680ms 42.918 MiB
#50 Accepted 2ms 392.0 KiB

Information

Submit By
Type
Submission
Homework
Project Four: Electronic Trading
Language
GNU Make
Submit At
2018-11-30 19:58:37
Judged At
2018-12-25 15:29:01
Judged By
Score
1000
Total Time
22647ms
Peak Memory
88.117 MiB