0_0_32287248_8293.cpp:12:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32287248_8293.cpp:13:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32287248_8293.cpp:14:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32287248_8293.cpp:15:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32287248_8293.cpp:16:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32287248_8293.cpp:17:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32287248_8293.cpp:18:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32287248_8293.cpp:19:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32287248_8293.cpp:20:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32287248_8293.cpp:21:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32287248_8293.cpp:25:9: error: 'pairPII' does not name a type
typedef pairPII;
^
0_0_32287248_8293.cpp:27:29: error: 'acos' was not declared in this scope
const double PI = acos(-1.0);
^
0_0_32287248_8293.cpp:31:1: error: 'vectoradj' does not name a type
vectoradj[MAXN];
^
0_0_32287248_8293.cpp: In function 'void dfs(int, int)':
0_0_32287248_8293.cpp:45:51: error: 'max' was not declared in this scope
f[u][v] = max(f[u][v], power[u][j]);
^
0_0_32287248_8293.cpp:49:9: error: 'adj' was not declared in this scope
if (adj[u].size()==1 && u!=1) {
^
0_0_32287248_8293.cpp:55:39: error: 'memset' was not declared in this scope
memset(maxSon, INF, sizeof(maxSon));
^
0_0_32287248_8293.cpp:56:25: error: 'adj' was not declared in this scope
for (int e = 0; e < adj[u].size(); ++e) {
^
0_0_32287248_8293.cpp:63:58: error: 'min' was not declared in this scope
maxx = max(maxx, min(maxSon[i-j], f[v][j]));
^
0_0_32287248_8293.cpp:63:59: error: 'max' was not declared in this scope
maxx = max(maxx, min(maxSon[i-j], f[v][j]));
^
0_0_32287248_8293.cpp:70:57: error: 'max' was not declared in this scope
f[u][i] = max(f[u][i], f[u][i-k] + maxSon[k]);
^
0_0_32287248_8293.cpp: In function 'int main()':
0_0_32287248_8293.cpp:79:23: error: 'scanf' was not declared in this scope
scanf("%d", &nCase);
^
0_0_32287248_8293.cpp:85:13: error: 'adj' was not declared in this scope
adj[i].clear();
^
0_0_32287248_8293.cpp:90:13: error: 'adj' was not declared in this scope
adj[u].push_back(v);
^
0_0_32287248_8293.cpp:101:31: error: 'memset' was not declared in this scope
memset(f, 0, sizeof(f));
^
0_0_32287248_8293.cpp:103:31: error: 'printf' was not declared in this scope
printf("%d\n", f[1][m]);
^
|