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_38602059_22573.cpp:3:1: error: stray '`' in program
 ```cpp
 ^
0_0_38602059_22573.cpp:3:2: error: stray '`' in program
 ```cpp
  ^
0_0_38602059_22573.cpp:3:3: error: stray '`' in program
 ```cpp
   ^
0_0_38602059_22573.cpp:107:1: error: stray '`' in program
 ```
 ^
0_0_38602059_22573.cpp:107:2: error: stray '`' in program
 ```
  ^
0_0_38602059_22573.cpp:107:3: error: stray '`' in program
 ```
   ^
0_0_38602059_22573.cpp:109:103: error: missing terminating ' character
 This code uses BFS to find the shortest augmenting path, improving the performance of the algorithm. I've double-checked the code to ensure there are no bugs.
                                                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0_0_38602059_22573.cpp:1:1: error: 'Certainly' does not name a type
 Certainly! Here's the modified code that uses the Edmonds-Karp algorithm with BFS to choose the shortest augmenting path. I've also double-checked the code for any potential bugs.
 ^~~~~~~~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/exception_ptr.h:40,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/exception:143,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ios:39,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ostream:38,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/iostream:39,
                 from 0_0_38602059_22573.cpp:4:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:120:31: error: declaration of 'operator new' as non-function
 void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                               ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:120:25: error: 'size_t' is not a member of 'std'
 void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                         ^~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:120:25: note: suggested alternative:
In file included from gcc-8.5.0/x86_64-w64-mingw32/include/wchar.h:9,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/cwchar:44,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/postypes.h:40,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/iosfwd:40,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ios:38,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ostream:38,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/iostream:39,
                 from 0_0_38602059_22573.cpp:4:
gcc-8.5.0/x86_64-w64-mingw32/include/corecrt.h:35:44: note:   'size_t'
 __MINGW_EXTENSION typedef unsigned __int64 size_t;
                                            ^~~~~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/exception_ptr.h:40,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/exception:143,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ios:39,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ostream:38,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/iostream:39,
                 from 0_0_38602059_22573.cpp:4:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:121:41: error: attributes after parenthesized initializer ignored [-fpermissive]
   __attribute__((__externally_visible__));
                                         ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:122:33: error: declaration of 'operator new []' as non-function
 void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                                 ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:122:27: error: 'size_t' is not a member of 'std'
 void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
                           ^~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:122:27: note: suggested alternative:
In file included from gcc-8.5.0/x86_64-w64-mingw32/include/wchar.h:9,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/cwchar:44,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/postypes.h:40,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/iosfwd:40,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ios:38,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ostream:38,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/iostream:39,
                 from 0_0_38602059_22573.cpp:4:
gcc-8.5.0/x86_64-w64-mingw32/include/corecrt.h:35:44: note:   'size_t'
 __MINGW_EXTENSION typedef unsigned __int64 size_t;
                                            ^~~~~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/exception_ptr.h:40,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/exception:143,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ios:39,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ostream:38,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/iostream:39,
                 from 0_0_38602059_22573.cpp:4:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:123:41: error: attributes after parenthesized initializer ignored [-fpermissive]
   __attribute__((__externally_visible__));
                                         ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:129:29: error: 'std::size_t' has not been declared
 void operator delete(void*, std::size_t) _GLIBCXX_USE_NOEXCEPT
                             ^~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:131:31: error: 'std::size_t' has not been declared
 void operator delete[](void*, std::size_t) _GLIBCXX_USE_NOEXCEPT
                               ^~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:134:25: error: declaration of 'operator new' as non-function
 void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                         ^~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:134:25: error: 'size_t' is not a member of 'std'
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:134:25: note: suggested alternative:
In file included from gcc-8.5.0/x86_64-w64-mingw32/include/wchar.h:9,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/cwchar:44,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/postypes.h:40,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/iosfwd:40,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ios:38,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ostream:38,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/iostream:39,
                 from 0_0_38602059_22573.cpp:4:
gcc-8.5.0/x86_64-w64-mingw32/include/corecrt.h:35:44: note:   'size_t'
 __MINGW_EXTENSION typedef unsigned __int64 size_t;
                                            ^~~~~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/exception_ptr.h:40,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/exception:143,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ios:39,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ostream:38,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/iostream:39,
                 from 0_0_38602059_22573.cpp:4:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:134:33: error: expected primary-expression before 'const'
 void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                                 ^~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:136:27: error: declaration of 'operator new []' as non-function
 void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
                           ^~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:136:27: error: 'size_t' is not a member of 'std'
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/new:136:27: note: suggested alternative:
In file included from gcc-8.5.0/x86_64-w64-mingw32/include/wchar.h:9,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/cwchar:44,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/postypes.h:40,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/iosfwd:40,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32


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-13 20:34:24, Gzip enabled