0_0_33695494_7240.cpp: In function 'int main()':
0_0_33695494_7240.cpp:61:5: error: 'function' was not declared in this scope
function<void(int,int ,ll )>fun1=[&](int u,int pre,ll k)->void{
^
0_0_33695494_7240.cpp:61:31: error: expression list treated as compound expression in functional cast [-fpermissive]
function<void(int,int ,ll )>fun1=[&](int u,int pre,ll k)->void{
^
0_0_33695494_7240.cpp:61:14: error: expected primary-expression before 'void'
function<void(int,int ,ll )>fun1=[&](int u,int pre,ll k)->void{
^
0_0_33695494_7240.cpp:71:26: error: expression list treated as compound expression in functional cast [-fpermissive]
function<void(int,int)>fun2=[&](int u,int pre)->void{
^
0_0_33695494_7240.cpp:71:14: error: expected primary-expression before 'void'
function<void(int,int)>fun2=[&](int u,int pre)->void{
^
0_0_33695494_7240.cpp:94:16: error: 'fun1' was not declared in this scope
fun1(1,-1,0);
^
0_0_33695494_7240.cpp:95:14: error: 'fun2' was not declared in this scope
fun2(1,-1);
^
|