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_38256272_25289.cpp:6:7: error: 'll' does not name a type
 const ll inf = 0x3f3f3f3f3f3f3f3f;
       ^
0_0_38256272_25289.cpp:9:1: error: 'll' does not name a type
 ll cs[N], ct[N], flow[M<<1];
 ^
0_0_38256272_25289.cpp:15:32: error: 'll' has not been declared
 inline void adeg(int u, int v, ll w, ll w2) {
                                ^
0_0_38256272_25289.cpp:15:38: error: 'll' has not been declared
 inline void adeg(int u, int v, ll w, ll w2) {
                                      ^
0_0_38256272_25289.cpp: In function 'void adeg(int, int, int, int)':
0_0_38256272_25289.cpp:16:52: error: 'flow' was not declared in this scope
     pre[++sz] = head[u]; head[u] = sz; to[sz] = v; flow[sz] = w;
                                                    ^
0_0_38256272_25289.cpp: In function 'bool bfs()':
0_0_38256272_25289.cpp:26:8: error: 'flow' was not declared in this scope
    if (flow[i] && !d[y]) d[y] = d[x]+1, q.push(y);
        ^
0_0_38256272_25289.cpp: At global scope:
0_0_38256272_25289.cpp:31:1: error: 'll' does not name a type
 ll dfs(int x, ll nflow) {
 ^
0_0_38256272_25289.cpp:45:1: error: 'll' does not name a type
 ll dinic() {
 ^
0_0_38256272_25289.cpp: In function 'int main()':
0_0_38256272_25289.cpp:57:3: error: 'll' was not declared in this scope
   ll sum = 0;
   ^
0_0_38256272_25289.cpp:60:4: error: 'sum' was not declared in this scope
    sum += a+b+c;
    ^
0_0_38256272_25289.cpp:62:4: error: 'cs' was not declared in this scope
    cs[u] += (a+b)/2, cs[v] += (a+b)/2;
    ^
0_0_38256272_25289.cpp:63:4: error: 'ct' was not declared in this scope
    ct[u] += (b+c)/2, ct[v] += (b+c)/2;
    ^
0_0_38256272_25289.cpp:67:15: error: 'cs' was not declared in this scope
    adeg(S, i, cs[i], 0);
               ^
0_0_38256272_25289.cpp:68:15: error: 'ct' was not declared in this scope
    adeg(i, T, ct[i], 0);
               ^
0_0_38256272_25289.cpp:70:20: error: 'sum' was not declared in this scope
   printf("%lld\n", sum-dinic()/2);
                    ^
0_0_38256272_25289.cpp:70:30: error: 'dinic' was not declared in this scope
   printf("%lld\n", sum-dinic()/2);
                              ^


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-26 02:35:15, Gzip enabled