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_25990536_1866.cpp:6:1: error: 'vector' does not name a type
 vector<int> p[N];
 ^
0_0_25990536_1866.cpp:7:1: error: 'bitset' does not name a type
 bitset<N> sum;
 ^
0_0_25990536_1866.cpp: In function 'void DFS(int, int)':
0_0_25990536_1866.cpp:9:8: error: 'p' was not declared in this scope
     FI(p[f].size()){
        ^
0_0_25990536_1866.cpp:9:19: error: 'FI' was not declared in this scope
     FI(p[f].size()){
                   ^
0_0_25990536_1866.cpp: In function 'int main()':
0_0_25990536_1866.cpp:20:14: error: 'S' was not declared in this scope
     while(S(T)!=EOF)
              ^
0_0_25990536_1866.cpp:20:17: error: 'EOF' was not declared in this scope
     while(S(T)!=EOF)
                 ^
0_0_25990536_1866.cpp:23:19: error: 'S2' was not declared in this scope
             S2(n,m);
                   ^
0_0_25990536_1866.cpp:24:17: error: 'FI' was not declared in this scope
             FI(n) p[i+1].clear();
                 ^
0_0_25990536_1866.cpp:30:38: error: 'memset' was not declared in this scope
             memset(vis,-1,sizeof(vis));
                                      ^
0_0_25990536_1866.cpp:31:23: error: 'fill' was not declared in this scope
             fill(ans,0);
                       ^
0_0_25990536_1866.cpp:32:38: error: 'sum' was not declared in this scope
             for(int i = 0;i<= n;i++) sum[i] = 0;
                                      ^
0_0_25990536_1866.cpp:33:13: error: 'sum' was not declared in this scope
             sum[0] = 1;
             ^
0_0_25990536_1866.cpp:44:52: error: 'max' was not declared in this scope
                     maxx = max(maxx,i * (n - i) - m);
                                                    ^
0_0_25990536_1866.cpp:45:31: error: 'printf' was not declared in this scope
             printf("%d\n",maxx);
                               ^


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-12-05 07:56:02, Gzip enabled