0_0_36634689_5677.cpp:107:12: error: 'solve' function uses 'auto' type specifier without trailing return type auto solve(){ ^ 0_0_36634689_5677.cpp:107:12: note: deduced return type only available with -std=c++1y or -std=gnu++1y