0_0_18155332_6865.cpp: In function 'LL dfs(LL, LL, int)':
0_0_18155332_6865.cpp:25:44: error: too few arguments to function 'LL dfs(LL, LL, int)'
LL ans=min(max(dfs(p-sum[pos],0),q,1)+pos+flag,dfs(p-sum[pos-1],q,1)+pos-1+flag);
^
0_0_18155332_6865.cpp:18:4: note: declared here
LL dfs(LL p,LL q,int flag)
^
0_0_18155332_6865.cpp: At global scope:
0_0_18155332_6865.cpp:32:1: error: expected declaration before '}' token
}
^
|