0_0_37307704_32009.cpp:12:23: error: 'min' function uses 'auto' type specifier without trailing return type
auto min(auto l,auto r){return l<r?l:r;}
^
0_0_37307704_32009.cpp:12:23: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37307704_32009.cpp:13:23: error: 'max' function uses 'auto' type specifier without trailing return type
auto max(auto l,auto r){return l>r?l:r;}
^
0_0_37307704_32009.cpp:13:23: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37307704_32009.cpp: In function 'int main()':
0_0_37307704_32009.cpp:46:18: error: expected unqualified-id before '[' token
for(auto [x,y]:q)
^
0_0_37307704_32009.cpp:46:18: error: expected ';' before '[' token
0_0_37307704_32009.cpp:46:19: error: 'x' was not declared in this scope
for(auto [x,y]:q)
^
0_0_37307704_32009.cpp:46:21: error: 'y' was not declared in this scope
for(auto [x,y]:q)
^
0_0_37307704_32009.cpp: In lambda function:
0_0_37307704_32009.cpp:46:23: error: expected '{' before ':' token
for(auto [x,y]:q)
^
0_0_37307704_32009.cpp: In function 'int main()':
0_0_37307704_32009.cpp:46:23: error: expected ';' before ':' token
0_0_37307704_32009.cpp:46:23: error: expected primary-expression before ':' token
0_0_37307704_32009.cpp:46:23: error: expected ')' before ':' token
0_0_37307704_32009.cpp:46:23: error: expected primary-expression before ':' token
|