Požemis

Taškai: 0

Compile: FAIL

pozemis.cpp: In function ‘int main()’: pozemis.cpp:39:22: error: converting to ‘std::queue<std::tuple<int, int, int> >::value_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}]’ Q.push({x, y, z}); ^ pozemis.cpp:61:25: error: converting to ‘std::queue<std::tuple<int, int, int> >::value_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}]’ Q.push({x + d, y, z}); ^ pozemis.cpp:66:25: error: converting to ‘std::queue<std::tuple<int, int, int> >::value_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}]’ Q.push({x, y + d, z}); ^ pozemis.cpp:71:25: error: converting to ‘std::queue<std::tuple<int, int, int> >::value_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}]’ Q.push({x, y, z + d}); ^

nr.resulttimemessage