Slidininkas

Taškai: 0

Compile: FAIL

slidininkas.cpp: In function ‘int main()’: slidininkas.cpp:46:19: 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({1, 1, 0}); ^ slidininkas.cpp:62:26: 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({nx, ny, ma}); ^ slidininkas.cpp:25:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &t); ^ slidininkas.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &n); ^ slidininkas.cpp:39:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] char c; scanf(" %1c", &c); ^

nr.resulttimemessage