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_38698171_18219.cpp:97:6: error: redefinition of 'void solve()'
   97 | void solve() {
      |      ^~~~~
0_0_38698171_18219.cpp:74:6: note: 'void solve()' previously defined here
   74 | void solve() {
      |      ^~~~~
0_0_38698171_18219.cpp: In function 'void solve()':
0_0_38698171_18219.cpp:131:16: error: 't' was not declared in this scope
  131 |         add(i, t, 1, 0);
      |                ^
0_0_38698171_18219.cpp:131:9: error: 'add' was not declared in this scope; did you mean 'std::filesystem::perm_options::add'?
  131 |         add(i, t, 1, 0);
      |         ^~~
      |         std::filesystem::perm_options::add
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/filesystem:46,
                 from .\stdc++.h:200:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/fs_fwd.h:211:7: note: 'std::filesystem::perm_options::add' declared here
  211 |       add       = 0x2,
      |       ^~~
0_0_38698171_18219.cpp:135:19: error: 'CostFlow' was not declared in this scope
  135 |     int MinCost = CostFlow(MaxFlow);
      |                   ^~~~~~~~


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 07:08:28, Gzip enabled