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_39593087_7670.cpp:3:1: error: empty character constant
    3 | ''
      | ^~
0_0_39593087_7670.cpp:3:1: error: expected unqualified-id before '\x0'
0_0_39593087_7670.cpp:7:7: error: 'maxn' was not declared in this scope
    7 | int e[maxn][maxn];
      |       ^~~~
0_0_39593087_7670.cpp:7:13: error: 'maxn' was not declared in this scope
    7 | int e[maxn][maxn];
      |             ^~~~
0_0_39593087_7670.cpp:8:11: error: 'maxn' was not declared in this scope
    8 | int match[maxn];
      |           ^~~~
0_0_39593087_7670.cpp:9:9: error: 'maxn' was not declared in this scope
    9 | int vis[maxn];
      |         ^~~~
0_0_39593087_7670.cpp: In function 'int dfs(int)':
0_0_39593087_7670.cpp:17:20: error: 'vis' was not declared in this scope
   17 |                 if(vis[i] == 0 && e[u][i] == 1)
      |                    ^~~
0_0_39593087_7670.cpp:17:35: error: 'e' was not declared in this scope; did you mean 'std::numbers::e'?
   17 |                 if(vis[i] == 0 && e[u][i] == 1)
      |                                   ^
      |                                   std::numbers::e
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/max_size_type.h:37,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_base.h:39,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_algobase.h:38,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_algo.h:38,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:63,
                 from .\stdc++.h:51:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:122:27: note: 'std::numbers::e' declared here
  122 |   inline constexpr double e = e_v<double>;
      |                           ^
0_0_39593087_7670.cpp:20:28: error: 'match' was not declared in this scope
   20 |                         if(match[i] == 0 || dfs(match[i]))
      |                            ^~~~~
0_0_39593087_7670.cpp: In function 'int solve()':
0_0_39593087_7670.cpp:33:16: error: 'match' was not declared in this scope
   33 |         memset(match,0,sizeof(match));
      |                ^~~~~
0_0_39593087_7670.cpp:36:24: error: 'vis' was not declared in this scope
   36 |                 memset(vis,0,sizeof(vis));
      |                        ^~~
0_0_39593087_7670.cpp: In function 'void init()':
0_0_39593087_7670.cpp:45:16: error: 'e' was not declared in this scope; did you mean 'std::numbers::e'?
   45 |         memset(e, 0, sizeof(e));
      |                ^
      |                std::numbers::e
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:122:27: note: 'std::numbers::e' declared here
  122 |   inline constexpr double e = e_v<double>;
      |                           ^
0_0_39593087_7670.cpp: In function 'int main()':
0_0_39593087_7670.cpp:56:25: error: 'e' was not declared in this scope; did you mean 'std::numbers::e'?
   56 |                         e[x][y] = 1;
      |                         ^
      |                         std::numbers::e
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:122:27: note: 'std::numbers::e' declared here
  122 |   inline constexpr double e = e_v<double>;
      |                           ^
0_0_39593087_7670.cpp:63:36: error: 'e' was not declared in this scope; did you mean 'std::numbers::e'?
   63 |                                 if(e[i][j] == 1)
      |                                    ^
      |                                    std::numbers::e
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numbers:122:27: note: 'std::numbers::e' declared here
  122 |   inline constexpr double e = e_v<double>;
      |                           ^


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-12-03 06:02:50, Gzip enabled