Paprasta programavimo kalba

Taškai: 0

Compile: FAIL

progkalb.cpp: In function ‘void search()’: progkalb.cpp:57: error: no type named ‘value_type’ in ‘struct std::greater<std::pair<int, std::pair<int, int> > >’ progkalb.cpp:57: error: template argument 3 is invalid progkalb.cpp:57: error: invalid type in declaration before ‘;’ token progkalb.cpp:58: error: request for member ‘push’ in ‘q’, which is of non-class type ‘int’ progkalb.cpp:59: error: request for member ‘empty’ in ‘q’, which is of non-class type ‘int’ progkalb.cpp:60: error: request for member ‘top’ in ‘q’, which is of non-class type ‘int’ progkalb.cpp:62: error: request for member ‘pop’ in ‘q’, which is of non-class type ‘int’ progkalb.cpp:68: error: request for member ‘push’ in ‘q’, which is of non-class type ‘int’ progkalb.cpp:74: error: request for member ‘push’ in ‘q’, which is of non-class type ‘int’

nr.resulttimemessage