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_32825359_21436.cpp: In function 'int main()':
0_0_32825359_21436.cpp:117:5: error: expected primary-expression before '/' token
     /
     ^
0_0_32825359_21436.cpp:119:5: error: expected primary-expression before 'int'
     int nr=0,nc=0,cnt=0;
     ^
0_0_32825359_21436.cpp:120:37: error: 'nc' was not declared in this scope
     add(S,n+1,INF,0);for(int i=2;i<=nc;i++)add(n+i-1,n+i,c[i],0);
                                     ^
0_0_32825359_21436.cpp:121:12: error: 'nr' was not declared in this scope
     add(T-(nr),T,INF,0);for(int i=1;i<nr;i++)add(T-i,T-(i+1),r[i],0);
            ^
0_0_32825359_21436.cpp:124:37: error: 'nc' was not declared in this scope
         int cc=*upper_bound(c+1,c+1+nc,y[i]);cc--;
                                     ^
0_0_32825359_21436.cpp:129:27: error: 'cnt' was not declared in this scope
     printf("%d",-MCMF(S,T,cnt));
                           ^


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 10:05:20, Gzip enabled