0_0_32743428_10030.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32743428_10030.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32743428_10030.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32743428_10030.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32743428_10030.cpp:6:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32743428_10030.cpp:7:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32743428_10030.cpp:8:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32743428_10030.cpp:12:9: error: 'pairPII' does not name a type
typedef pairPII;
^
0_0_32743428_10030.cpp:15:29: error: 'acos' was not declared in this scope
const double PI = acos(-1.0);
^
0_0_32743428_10030.cpp:26:1: error: 'vectoradj' does not name a type
vectoradj[MAXN];
^
0_0_32743428_10030.cpp: In function 'void dfs(int)':
0_0_32743428_10030.cpp:31:33: error: 'memset' was not declared in this scope
memset(f[u], 0, sizeof(f[u]));
^
0_0_32743428_10030.cpp:34:26: error: 'adj' was not declared in this scope
if (!room[u].cost && adj[u].size()==1 && u!=1)
^
0_0_32743428_10030.cpp:41:25: error: 'adj' was not declared in this scope
for (int i = 0; i < adj[u].size(); ++i) {
^
0_0_32743428_10030.cpp:47:59: error: 'max' was not declared in this scope
f[u][s] = max(f[u][s], f[u][s-j] + f[v][j]);
^
0_0_32743428_10030.cpp: In function 'int main()':
0_0_32743428_10030.cpp:54:34: error: 'scanf' was not declared in this scope
while (~scanf("%d %d", &n, &m) && n+m != -2) {
^
0_0_32743428_10030.cpp:57:13: error: 'adj' was not declared in this scope
adj[i].clear();
^
0_0_32743428_10030.cpp:68:13: error: 'adj' was not declared in this scope
adj[u].push_back(v);
^
0_0_32743428_10030.cpp:73:21: error: 'puts' was not declared in this scope
puts("0");
^
0_0_32743428_10030.cpp:77:35: error: 'memset' was not declared in this scope
memset(vis, 0, sizeof(vis));
^
0_0_32743428_10030.cpp:80:31: error: 'printf' was not declared in this scope
printf("%d\n", f[1][m]);
^
|