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_18162421_21754.cpp:4:7: error: 'N' was not declared in this scope
 int G[N][10];
       ^
0_0_18162421_21754.cpp:5:7: error: 'N' was not declared in this scope
 int c[N], n;
       ^
0_0_18162421_21754.cpp:6:1: error: 'LL' does not name a type
 LL ans;
 ^
0_0_18162421_21754.cpp: In function 'void get(int, int)':
0_0_18162421_21754.cpp:25:13: error: 'G' was not declared in this scope
      int &t=G[id][0]=0;
             ^
0_0_18162421_21754.cpp: In function 'void dfs1(int, int, int, int, int)':
0_0_18162421_21754.cpp:42:11: error: 'c' was not declared in this scope
           c[x]++;
           ^
0_0_18162421_21754.cpp:45:8: error: 'G' was not declared in this scope
     if(G[id][0]-pos+1<num-now) return;
        ^
0_0_18162421_21754.cpp:46:22: error: 'G' was not declared in this scope
     for(int i=pos;i<=G[id][0];i++)
                      ^
0_0_18162421_21754.cpp: At global scope:
0_0_18162421_21754.cpp:50:49: error: 'LL' has not been declared
 void dfs2(int id,int pos,int num,int now,int x, LL& tem)
                                                 ^
0_0_18162421_21754.cpp: In function 'void dfs2(int, int, int, int, int, int&)':
0_0_18162421_21754.cpp:54:26: error: 'c' was not declared in this scope
           if(num&1) tem-=c[x]-1; else tem+=c[x]-1;
                          ^
0_0_18162421_21754.cpp:54:44: error: 'c' was not declared in this scope
           if(num&1) tem-=c[x]-1; else tem+=c[x]-1;
                                            ^
0_0_18162421_21754.cpp:57:9: error: 'G' was not declared in this scope
      if(G[id][0]-pos+1<num-now) return;
         ^
0_0_18162421_21754.cpp:58:23: error: 'G' was not declared in this scope
      for(int i=pos;i<=G[id][0];i++)
                       ^
0_0_18162421_21754.cpp: In function 'void work()':
0_0_18162421_21754.cpp:64:7: error: 'LL' was not declared in this scope
       LL tem=0; ans=0;
       ^
0_0_18162421_21754.cpp:64:17: error: 'ans' was not declared in this scope
       LL tem=0; ans=0;
                 ^
0_0_18162421_21754.cpp:67:16: error: 'G' was not declared in this scope
             if(G[i][0]==0) continue;
                ^
0_0_18162421_21754.cpp:68:13: error: 'tem' was not declared in this scope
             tem=n-1;
             ^
0_0_18162421_21754.cpp:69:28: error: 'G' was not declared in this scope
             for(int j=1;j<=G[i][0];j++)dfs2(i,1,j,0,1,tem);
                            ^
0_0_18162421_21754.cpp: In function 'void init()':
0_0_18162421_21754.cpp:77:16: error: 'c' was not declared in this scope
         memset(c,0,sizeof(c));
                ^
0_0_18162421_21754.cpp:77:29: error: 'memset' was not declared in this scope
         memset(c,0,sizeof(c));
                             ^
0_0_18162421_21754.cpp: In function 'int main()':
0_0_18162421_21754.cpp:83:19: error: 'scanf' was not declared in this scope
      scanf("%d",&T);
                   ^
0_0_18162421_21754.cpp:94:33: error: 'G' was not declared in this scope
                  for(int j=1;j<=G[i][0];j++) dfs1(i,1,j,0,1);
                                 ^
0_0_18162421_21754.cpp:97:29: error: 'ans' was not declared in this scope
             printf("%lld\n",ans);
                             ^
0_0_18162421_21754.cpp:97:32: error: 'printf' was not declared in this scope
             printf("%lld\n",ans);
                                ^


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-27 04:04:04, Gzip enabled