0_0_32342673_26079.cpp:11:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32342673_26079.cpp:12:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32342673_26079.cpp:13:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32342673_26079.cpp:14:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32342673_26079.cpp:15:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32342673_26079.cpp:16:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32342673_26079.cpp:17:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32342673_26079.cpp:21:9: error: 'pairPII' does not name a type
typedef pairPII;
^
0_0_32342673_26079.cpp:24:29: error: 'acos' was not declared in this scope
const double PI = acos(-1.0);
^
0_0_32342673_26079.cpp:35:1: error: 'vectoradj' does not name a type
vectoradj[MAXN];
^
0_0_32342673_26079.cpp: In function 'void dfs(int)':
0_0_32342673_26079.cpp:40:33: error: 'memset' was not declared in this scope
memset(f[u], 0, sizeof(f[u]));
^
0_0_32342673_26079.cpp:43:26: error: 'adj' was not declared in this scope
if (!room[u].cost && adj[u].size()==1 && u!=1)
^
0_0_32342673_26079.cpp:50:25: error: 'adj' was not declared in this scope
for (int i = 0; i < adj[u].size(); ++i) {
^
0_0_32342673_26079.cpp:56: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_32342673_26079.cpp: In function 'int main()':
0_0_32342673_26079.cpp:63:34: error: 'scanf' was not declared in this scope
while (~scanf("%d %d", &n, &m) && n+m != -2) {
^
0_0_32342673_26079.cpp:66:13: error: 'adj' was not declared in this scope
adj[i].clear();
^
0_0_32342673_26079.cpp:77:13: error: 'adj' was not declared in this scope
adj[u].push_back(v);
^
0_0_32342673_26079.cpp:82:21: error: 'puts' was not declared in this scope
puts("0");
^
0_0_32342673_26079.cpp:86:35: error: 'memset' was not declared in this scope
memset(vis, 0, sizeof(vis));
^
0_0_32342673_26079.cpp:89:31: error: 'printf' was not declared in this scope
printf("%d\n", f[1][m]);
^
|