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_38875941_29072.cpp: In function 'int main()':
0_0_38875941_29072.cpp:190:32: error: expected ';' before 'int'
  190 |     scanf("%d%d%d", &n, &f, &d)
      |                                ^
      |                                ;
  191 |         int t = n + f + d + 2;
      |         ~~~                     
0_0_38875941_29072.cpp:192:26: error: 't' was not declared in this scope
  192 |         dinic<i64> graph(t);
      |                          ^
0_0_38875941_29072.cpp:203:51: error: 'sink' was not declared in this scope; did you mean 'sinl'?
  203 |             graph.add_directional_edge(f + n + i, sink, c);
      |                                                   ^~~~
      |                                                   sinl
0_0_38875941_29072.cpp:218:45: error: 'sink' was not declared in this scope; did you mean 'sinl'?
  218 |         printf("%lld\n", graph.flow(source, sink));
      |                                             ^~~~
      |                                             sinl


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-06-17 06:12:56, Gzip enabled