0_0_34741371_7549.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
0_0_34741371_7549.cpp: In function 'int dfs(int, int, int, int, int)':
0_0_34741371_7549.cpp:28:43: error: 'max' was not declared in this scope
if(cc!=-1)ans=max(ans,cc+i);
^
0_0_34741371_7549.cpp: In function 'int main()':
0_0_34741371_7549.cpp:48:18: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_34741371_7549.cpp:50:29: error: 'memset' was not declared in this scope
memset(dp,-1,sizeof (dp));
^
0_0_34741371_7549.cpp:53:13: error: 'cin' was not declared in this scope
cin>>a>>b;
^
0_0_34741371_7549.cpp:56:43: error: 'printf' was not declared in this scope
printf("Case %d: %d\n",cas,ans);
^
|