prepare (1/3):
finished
make (2/3):
g++ -g -Wall -o main.o -c main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:182:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char* optstring="vmptg:";
^~~~~~~~
In file included from main.cpp:9:0:
binary_heap.h: In instantiation of 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = instruction; COMP = compare_buy]':
main.cpp:303:56: required from here
binary_heap.h:73:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=2*id;j<=data.size();j=2*id){
binary_heap.h:74:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j<data.size()&&compare(data[j],data[j-1])){j++;}
binary_heap.h: In instantiation of 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = instruction; COMP = compare_sell]':
main.cpp:310:57: required from here
binary_heap.h:73:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=2*id;j<=data.size();j=2*id){
binary_heap.h:74:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j<data.size()&&compare(data[j],data[j-1])){j++;}
g++ -g -Wall -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully