Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main.o -c main.cpp 
g++ -g -Wall -O2 -o client.o -c client.cpp 
g++ -g -Wall -O2 -o equity.o -c equity.cpp 
equity.cpp: In member function 'void Stock::printTimeTraveler() const':
equity.cpp:155:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (minSell < 0 || minSell > trade->price) {
                                ~~~~~~~~^~~~~~~~~~~~~~
In file included from equity.h:9:0,
                 from equity.cpp:2:
median.h: 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>]':
equity.cpp:5:37:   required from here
median.h:24:13: warning: 'Median<long unsigned int>::average' will be initialized after [-Wreorder]
     AVERAGE average;
             ^~~~~~~
median.h:22:56: 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]
     std::priority_queue<TYPE, std::vector<TYPE>, COMP> maxQueue;
                                                        ^~~~~~~~
median.h:26:14: warning:   when initialized here [-Wreorder]
     explicit Median(AVERAGE average = AVERAGE(), COMP compare = COMP()) :
              ^~~~~~
g++ -g -Wall -O2 -o trading.o -c trading.cpp 
g++ -g -Wall -O2 -o main main.o client.o equity.o trading.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 7ms 668.0 KiB
#2 Accepted 6ms 376.0 KiB
#3 Accepted 4ms 424.0 KiB
#4 Accepted 2ms 380.0 KiB
#5 Accepted 63ms 896.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 440.0 KiB
#9 Accepted 2ms 380.0 KiB
#10 Accepted 4ms 412.0 KiB
#11 Accepted 2ms 384.0 KiB
#12 Accepted 3ms 440.0 KiB
#13 Accepted 3ms 420.0 KiB
#14 Accepted 3ms 424.0 KiB
#15 Accepted 3ms 384.0 KiB
#16 Accepted 8ms 512.0 KiB
#17 Accepted 5ms 500.0 KiB
#18 Accepted 7ms 492.0 KiB
#19 Accepted 3ms 424.0 KiB
#20 Accepted 3ms 492.0 KiB
#21 Accepted 4ms 512.0 KiB
#22 Accepted 8ms 560.0 KiB
#23 Accepted 10ms 588.0 KiB
#24 Accepted 4ms 536.0 KiB
#25 Accepted 4ms 500.0 KiB
#26 Accepted 16ms 932.0 KiB
#27 Accepted 78ms 940.0 KiB
#28 Accepted 79ms 936.0 KiB
#29 Accepted 11ms 908.0 KiB
#30 Accepted 12ms 900.0 KiB
#31 Accepted 32ms 1.391 MiB
#32 Accepted 223ms 1.383 MiB
#33 Accepted 22ms 1.391 MiB
#34 Accepted 21ms 1.395 MiB
#35 Accepted 68ms 2.312 MiB
#36 Accepted 48ms 2.32 MiB
#37 Accepted 44ms 2.316 MiB
#38 Accepted 47ms 4.797 MiB
#39 Accepted 58ms 4.852 MiB
#40 Accepted 65ms 5.148 MiB
#41 Accepted 866ms 18.238 MiB
#42 Accepted 572ms 18.27 MiB
#43 Accepted 2831ms 45.324 MiB
#44 Accepted 1865ms 45.238 MiB
#45 Accepted 5658ms 88.055 MiB
#46 Accepted 3818ms 88.098 MiB
#47 Accepted 2007ms 43.008 MiB
#48 Accepted 2495ms 42.949 MiB
#49 Accepted 1745ms 43.004 MiB
#50 Accepted 7ms 424.0 KiB

Information

Submit By
Type
Submission
Homework
Project Four: Electronic Trading
Language
GNU Make
Submit At
2018-11-30 17:31:04
Judged At
2018-12-25 15:28:48
Judged By
Score
1000
Total Time
22875ms
Peak Memory
88.098 MiB