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_33357956_23758.cpp:34:18: error: expected primary-expression before ',' token
 const int maxn = , INF = 0x7fffffff, LL_INF = 0x7fffffffffffffff;
                  ^
0_0_33357956_23758.cpp:36:11: error: size of array 'f' is not an integral constant-expression
 int f[maxn], deg[maxn], in[maxn], out[maxn], vis[maxn];
           ^
0_0_33357956_23758.cpp:36:22: error: size of array 'deg' is not an integral constant-expression
 int f[maxn], deg[maxn], in[maxn], out[maxn], vis[maxn];
                      ^
0_0_33357956_23758.cpp:36:32: error: size of array 'in' is not an integral constant-expression
 int f[maxn], deg[maxn], in[maxn], out[maxn], vis[maxn];
                                ^
0_0_33357956_23758.cpp:36:43: error: size of array 'out' is not an integral constant-expression
 int f[maxn], deg[maxn], in[maxn], out[maxn], vis[maxn];
                                           ^
0_0_33357956_23758.cpp:36:54: error: size of array 'vis' is not an integral constant-expression
 int f[maxn], deg[maxn], in[maxn], out[maxn], vis[maxn];
                                                      ^
0_0_33357956_23758.cpp:37:11: error: size of array 'd' is not an integral constant-expression
 int d[maxn], head[maxn], cur[maxn];
           ^
0_0_33357956_23758.cpp:37:23: error: size of array 'head' is not an integral constant-expression
 int d[maxn], head[maxn], cur[maxn];
                       ^
0_0_33357956_23758.cpp:37:34: error: size of array 'cur' is not an integral constant-expression
 int d[maxn], head[maxn], cur[maxn];
                                  ^
0_0_33357956_23758.cpp: In function 'void init()':
0_0_33357956_23758.cpp:47:17: error: expected primary-expression before ';' token
     for(int i = ; i < maxn; i++) f[i] = i;
                 ^
0_0_33357956_23758.cpp:30:30: error: expected primary-expression before ',' token
 #define mem(a, b) memset(a, b, sizeof(a))
                              ^
0_0_33357956_23758.cpp:48:5: note: in expansion of macro 'mem'
     mem(deg, );
     ^
0_0_33357956_23758.cpp:30:30: error: expected primary-expression before ',' token
 #define mem(a, b) memset(a, b, sizeof(a))
                              ^
0_0_33357956_23758.cpp:49:5: note: in expansion of macro 'mem'
     mem(in, );
     ^
0_0_33357956_23758.cpp:30:30: error: expected primary-expression before ',' token
 #define mem(a, b) memset(a, b, sizeof(a))
                              ^
0_0_33357956_23758.cpp:50:5: note: in expansion of macro 'mem'
     mem(head, -);
     ^
0_0_33357956_23758.cpp:30:30: error: expected primary-expression before ',' token
 #define mem(a, b) memset(a, b, sizeof(a))
                              ^
0_0_33357956_23758.cpp:51:5: note: in expansion of macro 'mem'
     mem(out, );
     ^
0_0_33357956_23758.cpp:52:11: error: expected primary-expression before ';' token
     cnt = ;
           ^
0_0_33357956_23758.cpp: At global scope:
0_0_33357956_23758.cpp:60:11: error: size of array 'Edge' is not an integral constant-expression
 }Edge[maxn];
           ^
0_0_33357956_23758.cpp: In function 'void add(int, int, int)':
0_0_33357956_23758.cpp:74:16: error: expected primary-expression before ')' token
     add_(v, u, );
                ^
0_0_33357956_23758.cpp: In function 'bool bfs()':
0_0_33357956_23758.cpp:30:30: error: expected primary-expression before ',' token
 #define mem(a, b) memset(a, b, sizeof(a))
                              ^
0_0_33357956_23758.cpp:80:5: note: in expansion of macro 'mem'
     mem(d, );
     ^
0_0_33357956_23758.cpp:82:12: error: expected primary-expression before ';' token
     d[s] = ;
            ^
0_0_33357956_23758.cpp:86:36: error: expected primary-expression before ';' token
         for(int i = head[u]; i != -; i = Edge[i].next)
                                    ^
0_0_33357956_23758.cpp:89:33: error: expected primary-expression before ')' token
             if(!d[e.v] && e.c > )
                                 ^
0_0_33357956_23758.cpp:91:35: error: expected primary-expression before ';' token
                 d[e.v] = d[e.u] + ;
                                   ^
0_0_33357956_23758.cpp:93:30: error: return-statement with no value, in function returning 'bool' [-fpermissive]
                 if(e.v == t) return ;
                              ^
0_0_33357956_23758.cpp:97:20: error: expected primary-expression before ';' token
     return d[t] != ;
                    ^
0_0_33357956_23758.cpp: In function 'int dfs(int, int)':
0_0_33357956_23758.cpp:102:15: error: expected primary-expression before ';' token
     int ret = ;
               ^
0_0_33357956_23758.cpp:103:25: error: expected primary-expression before ')' token
     if(u == t || cap == )
                         ^
0_0_33357956_23758.cpp:105:32: error: expected primary-expression before ';' token
     for(int &i = cur[u]; i != -; i = Edge[i].next)
                                ^
0_0_33357956_23758.cpp:108:33: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
         if(d[e.v] == d[u] +  && e.c > )
                                 ^
0_0_33357956_23758.cpp:108:34: error: expected ')' before '.' token
         if(d[e.v] == d[u] +  && e.c > )
                                  ^
0_0_33357956_23758.cpp:112:20: error: expected primary-expression before ']' token
             Edge[i^].c += V;
                    ^
0_0_33357956_23758.cpp:115:23: error: expected primary-expression before ')' token
             if(cap == ) break;
                       ^
0_0_33357956_23758.cpp:118:14: error: expected primary-expression before ')' token
     if(cap > ) d[u] = -;
              ^
0_0_33357956_23758.cpp:118:24: error: expected primary-expression before ';' token
     if(cap > ) d[u] = -;
                        ^
0_0_33357956_23758.cpp:108:33: error: label 'e' used but not defined
         if(d[e.v] == d[u] +  && e.c > )
                                 ^
0_0_33357956_23758.cpp: In function 'int Dinic(int)':
0_0_33357956_23758.cpp:124:15: error: expected primary-expression before ';' token
     int ans = ;
               ^
0_0_33357956_23758.cpp:128:23: error: 'INF' was not declared in this scope
         ans += dfs(u, INF);
                       ^
0_0_33357956_23758.cpp: In function 'int main()':
0_0_33357956_23758.cpp:142:13: error: expected primary-expression before ',' token
         s = , t = n + ;
             ^
0_0_33357956_23758.cpp:142:23: error: expected primary-expression before ';' token
         s = , t = n + ;
                       ^
0_0_33357956_23758.cpp:143:21: error: expected primary-expression before ';' token
         for(int i = ; i <= m; i++)
                     ^
0_0_33357956_23758.cpp:147:31: error: expected primary-expression before ')' token
             if(u != v && w == ) add(u, v, );
                               ^
0_0_33357956_23758.cpp:147:43: error: expected primary-expression before ')' token
             if(u != v && w == ) add(u, v, );
                                           ^
0_0_33357956_23758.cpp:152:20: error: expected primary-expression before ',' token
         int flag = , m_sum = ;
                    ^
0_0_33357956_23758.cpp:153:21: error: expected primary-expression before ';' token
         for(int i = ; i <= n; i++)
                     ^
0_0_33357956_23758.cpp:157:38: error: expected primary-expression before ')' token
             if(abs(out[i] - in[i]) & )
                                      ^
0_0_33357956_23758.cpp:159:24: error: expected primary-expression before ';' token
                 flag = ;
                        ^
0_0_33357956_23758.cpp:162:61: error: expected primary-expression before ')' token
             if(out[i] > in[i]) add(s, i, (out[i] - in[i]) / ), m_sum += (out[i] - in[i]) / ;
                                                             ^
0_0_33357956_23758.cpp:162:64: error: 'm_sum' was not declared in this scope
             if(out[i] > in[i]) add(s, i, (out[i] - in[i]) / ), m_sum += (out[i] - in[i]) / ;
                                                                ^
0_0_33357956_23758.cpp:162:92: error: expected primary-expression before ';' token
             if(out[i] > in[i]) add(s, i, (out[i] - in[i]) / ), m_sum += (out[i] - in[i]) / ;
                                                                                            ^
0_0_33357956_23758.cpp:163:66: error: expected primary-expression before ')' token
             else if(in[i] > out[i]) add(i, t, (in[i] - out[i]) / );
                                                                  ^
0_0_33357956_23758.cpp:166:32: error: expected primary-expression before ')' token
         if(flag || ss.size() > )
                                ^
0_0_33357956_23758.cpp:171:12: error: 'm_sum' was not declared in this scope
         if(m_sum == Dinic(s))
            ^
0_0_33357956_23758.cpp:178:5: 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-06 03:15:05, Gzip enabled