0_0_18030186_10648.cpp: In function 'int topo(int, int)':
0_0_18030186_10648.cpp:44:19: error: return-statement with no value, in function returning 'int' [-fpermissive]
if(dep>100000)return ;
^
0_0_18030186_10648.cpp: In function 'int main()':
0_0_18030186_10648.cpp:128:29: error: too few arguments to function 'int topo(int, int)'
int res = max(topo(S) - 2, 0);
^
0_0_18030186_10648.cpp:43:5: note: declared here
int topo(int u,int dep){
^
|