F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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]);
                               ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-22 22:32:58, Gzip enabled