0_0_23202859_12809.cpp: In function 'int main()':
0_0_23202859_12809.cpp:4:11: error: 'cin' was not declared in this scope
while(cin>>N>>M)
^
0_0_23202859_12809.cpp:4:16: error: 'N' was not declared in this scope
while(cin>>N>>M)
^
0_0_23202859_12809.cpp:4:19: error: 'M' was not declared in this scope
while(cin>>N>>M)
^
0_0_23202859_12809.cpp:8:12: error: 'cout' was not declared in this scope
{cout<<0<<endl;continue;}
^
0_0_23202859_12809.cpp:8:21: error: 'endl' was not declared in this scope
{cout<<0<<endl;continue;}
^
0_0_23202859_12809.cpp:9:16: error: 'vis' was not declared in this scope
memset(vis,false,sizeof(vis));
^
0_0_23202859_12809.cpp:9:37: error: 'memset' was not declared in this scope
memset(vis,false,sizeof(vis));
^
0_0_23202859_12809.cpp:10:16: error: 'dp' was not declared in this scope
memset(dp,0,sizeof(dp));
^
0_0_23202859_12809.cpp:11:16: error: 'gra' was not declared in this scope
memset(gra,0,sizeof(gra));
^
0_0_23202859_12809.cpp:16:13: error: 'A' was not declared in this scope
A[i].cost = a;
^
0_0_23202859_12809.cpp:28:18: error: 'dfs' was not declared in this scope
dfs(1);
^
0_0_23202859_12809.cpp:29:12: error: 'cout' was not declared in this scope
cout<<dp[1][M]<<endl;
^
0_0_23202859_12809.cpp:29:28: error: 'endl' was not declared in this scope
cout<<dp[1][M]<<endl;
^
|