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_38993419_16604.cpp: In function 'std::vector<std::pair<int, std::vector<Pt> > > search(const Plg&, int, int)':
0_0_38993419_16604.cpp:101:17: error: 'trace' was not declared in this scope; did you mean 'fitrace'?
  101 |          cut(p, trace, &u, &b);
      |                 ^~~~~
      |                 fitrace
0_0_38993419_16604.cpp: In lambda function:
0_0_38993419_16604.cpp:117:10: error: expected primary-expression before ')' token
  117 |          );
      |          ^
0_0_38993419_16604.cpp:124:27: error: 'iplg' was not declared in this scope; did you mean 'iplgs'?
  124 |                  int id = iplg.first;
      |                           ^~~~
      |                           iplgs
0_0_38993419_16604.cpp: In function 'int connected_cnt(const std::vector<std::pair<int, std::vector<Pt> > >&)':
0_0_38993419_16604.cpp:151:1: error: expected ',' or ';' before 'int'
  151 | int solve() {
      | ^~~
0_0_38993419_16604.cpp:174:12: error: a function-definition is not allowed here before '{' token
  174 | int main() {
      |            ^
0_0_38993419_16604.cpp:182:2: error: expected '}' at end of input
  182 | }
      |  ^
0_0_38993419_16604.cpp:110:46: note: to match this '{'
  110 | int connected_cnt(const vector<IPlg> &iplgs) {
      |                                              ^


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-05-17 16:43:32, Gzip enabled