Klajonė

Taškai: 0

Compile: FAIL

klajone.cpp: In function ‘std::pair<Kelione, point> F(int, point)’: klajone.cpp:75:32: error: converting to ‘const key_type {aka const std::tuple<int, int, int>}’ from initializer list would use explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, int&}; <template-parameter-2-2> = void; _Elements = {int, int, int}]’ if (FF.count({i, KRP.x, KRP.y})) ^ klajone.cpp:76:31: error: converting to ‘std::map<std::tuple<int, int, int>, std::pair<Kelione, point> >::key_type {aka std::tuple<int, int, int>}’ from initializer list would use explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, int&}; <template-parameter-2-2> = void; _Elements = {int, int, int}]’ return FF[ {i, KRP.x, KRP.y}]; ^ klajone.cpp:97:30: error: converting to ‘std::map<std::tuple<int, int, int>, std::pair<Kelione, point> >::key_type {aka std::tuple<int, int, int>}’ from initializer list would use explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, int&}; <template-parameter-2-2> = void; _Elements = {int, int, int}]’ return FF[ {i, KRP.x, KRP.y}] = {A, krypt}; ^

nr.resulttimemessage