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_39089469_27868.cpp:2:1: error: 'vector' does not name a type
    2 | vector<int> v[]; //储存边的邻接表
      | ^~~~~~
0_0_39089469_27868.cpp:3:5: error: storage size of 'pre' isn't known
    3 | int pre[]; // pre[i]记录与i匹配的左边点集中的点
      |     ^~~
0_0_39089469_27868.cpp:4:6: error: storage size of 'flag' isn't known
    4 | bool flag[]; //记录是否访问过某一个点
      |      ^~~~
0_0_39089469_27868.cpp: In function 'bool find(int)':
0_0_39089469_27868.cpp:7:15: error: 'v' was not declared in this scope
    7 |     int len = v[x].size();
      |               ^
0_0_39089469_27868.cpp:8:9: error: 'i' was not declared in this scope
    8 |     rep(i, 0, len) {
      |         ^
0_0_39089469_27868.cpp:8:5: error: 'rep' was not declared in this scope
    8 |     rep(i, 0, len) {
      |     ^~~
0_0_39089469_27868.cpp: In function 'int hungary(int)':
0_0_39089469_27868.cpp:22:5: error: 'memset' was not declared in this scope
   22 |     memset(pre, 255, sizeof(pre));
      |     ^~~~~~
0_0_39089469_27868.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
  +++ |+#include <cstring>
    1 | 
0_0_39089469_27868.cpp:23:9: error: 'i' was not declared in this scope
   23 |     rep(i, 0, n) {
      |         ^
0_0_39089469_27868.cpp:23:5: error: 'rep' was not declared in this scope
   23 |     rep(i, 0, n) {
      |     ^~~


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-24 02:09:10, Gzip enabled