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_36546415_14409.cpp:4:17: error: expected primary-expression before ';' token
  const int maxn=;
                 ^
0_0_36546415_14409.cpp:5:21: error: expected primary-expression before ';' token
  const int maxm=2e5+;
                     ^
0_0_36546415_14409.cpp:8:14: error: size of array 'FIR' is not an integral constant-expression
  int FIR[maxn],TO[maxm],NEXT[maxm],W[maxm],tote;
              ^
0_0_36546415_14409.cpp:8:23: error: size of array 'TO' is not an integral constant-expression
  int FIR[maxn],TO[maxm],NEXT[maxm],W[maxm],tote;
                       ^
0_0_36546415_14409.cpp:8:34: error: size of array 'NEXT' is not an integral constant-expression
  int FIR[maxn],TO[maxm],NEXT[maxm],W[maxm],tote;
                                  ^
0_0_36546415_14409.cpp:8:42: error: size of array 'W' is not an integral constant-expression
  int FIR[maxn],TO[maxm],NEXT[maxm],W[maxm],tote;
                                          ^
0_0_36546415_14409.cpp:9:15: error: size of array 'vis' is not an integral constant-expression
  bool vis[maxn];
               ^
0_0_36546415_14409.cpp:10:12: error: size of array 'F' is not an integral constant-expression
  int F[maxn],link[maxn],wage[maxn];
            ^
0_0_36546415_14409.cpp:10:23: error: size of array 'link' is not an integral constant-expression
  int F[maxn],link[maxn],wage[maxn];
                       ^
0_0_36546415_14409.cpp:10:34: error: size of array 'wage' is not an integral constant-expression
  int F[maxn],link[maxn],wage[maxn];
                                  ^
0_0_36546415_14409.cpp: In function 'void Join(int, int)':
0_0_36546415_14409.cpp:32:22: error: expected primary-expression before ')' token
      while(link[p]!=-)p=link[p];
                      ^
0_0_36546415_14409.cpp: In function 'int MinCut(int, int&, int&)':
0_0_36546415_14409.cpp:38:18: error: expected primary-expression before ',' token
      memset(wage,,sizeof wage);
                  ^
0_0_36546415_14409.cpp:41:8: error: expected primary-expression before ';' token
      t=;
        ^
0_0_36546415_14409.cpp:45:26: error: expected primary-expression before ';' token
          for(int u=s;u!=-;u=link[u])
                          ^
0_0_36546415_14409.cpp:47:35: error: expected primary-expression before ';' token
              for(int p=FIR[u];p!=-;p=NEXT[p])
                                   ^
0_0_36546415_14409.cpp:54:12: error: expected primary-expression before ';' token
          t=;
            ^
0_0_36546415_14409.cpp:57:27: error: return-statement with no value, in function returning 'int' [-fpermissive]
              if(q.empty())return ;
                           ^
0_0_36546415_14409.cpp: In function 'int Stoer_Wagner()':
0_0_36546415_14409.cpp:68:24: error: expected primary-expression before ';' token
      for(int i=n,s,t;i>;i--)
                        ^
0_0_36546415_14409.cpp:71:18: error: expected primary-expression before ')' token
          if(res==)break;
                  ^
0_0_36546415_14409.cpp: In function 'void init()':
0_0_36546415_14409.cpp:78:11: error: expected primary-expression before ';' token
      tote=;
           ^
0_0_36546415_14409.cpp:79:16: error: expected primary-expression before ';' token
      for(int i=;i<=n;i++)FIR[i]=link[i]=-,F[i]=i;
                ^
0_0_36546415_14409.cpp:79:42: error: expected primary-expression before ',' token
      for(int i=;i<=n;i++)FIR[i]=link[i]=-,F[i]=i;
                                          ^
0_0_36546415_14409.cpp: In function 'int main()':
0_0_36546415_14409.cpp:86:20: error: expected primary-expression before ',' token
          for(int i=,u,v,w;i<m;i++)
                    ^
0_0_36546415_14409.cpp:88:30: error: 'u' was not declared in this scope
              scanf("%d%d%d",&u,&v,&w);
                              ^
0_0_36546415_14409.cpp:88:33: error: 'v' was not declared in this scope
              scanf("%d%d%d",&u,&v,&w);
                                 ^
0_0_36546415_14409.cpp:88:36: error: 'w' was not declared in this scope
              scanf("%d%d%d",&u,&v,&w);
                                    ^
0_0_36546415_14409.cpp:93:6: error: return-statement with no value, in function returning 'int' [-fpermissive]
      return ;
      ^


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-23 04:18:26, Gzip enabled