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_38693816_5300.cpp:11:1: error: 'vector' does not name a type
   11 | vector<int> pt[N];
      | ^~~~~~
0_0_38693816_5300.cpp: In function 'int solve()':
0_0_38693816_5300.cpp:55:17: error: 'pt' was not declared in this scope; did you mean 't'?
   55 |                 pt[i].clear();
      |                 ^~
      |                 t
0_0_38693816_5300.cpp:62:22: error: 'pt' was not declared in this scope; did you mean 't'?
   62 |                 if (!pt[x].empty())
      |                      ^~
      |                      t
0_0_38693816_5300.cpp:67:17: error: 'pt' was not declared in this scope; did you mean 't'?
   67 |                 pt[x].push_back(pn);
      |                 ^~
      |                 t
0_0_38693816_5300.cpp:80:22: error: 'pt' was not declared in this scope; did you mean 't'?
   80 |                 if (!pt[i].empty())
      |                      ^~
      |                      t
0_0_38693816_5300.cpp:89:21: error: 'pt' was not declared in this scope; did you mean 't'?
   89 |                 if (pt[x].empty()) ans++;
      |                     ^~
      |                     t


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 00:26:41, Gzip enabled