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_38583823_10998.cpp:5:1: error: 'vector' does not name a type; did you mean 'perror'?
 vector<int> v[100010];
 ^~~~~~
 perror
0_0_38583823_10998.cpp:6:1: error: 'vector' does not name a type; did you mean 'perror'?
 vector<pair<int,int> > beg[2];
 ^~~~~~
 perror
0_0_38583823_10998.cpp: In function 'int binary(int, int)':
0_0_38583823_10998.cpp:8:15: error: 'beg' was not declared in this scope
     int l=0,r=beg[0].size()-1;
               ^~~
0_0_38583823_10998.cpp: In function 'void solve()':
0_0_38583823_10998.cpp:31:5: error: 'beg' was not declared in this scope
     beg[0].clear();
     ^~~
0_0_38583823_10998.cpp:36:9: error: 'v' was not declared in this scope
         v[x].push_back(y);
         ^
0_0_38583823_10998.cpp:41:9: error: 'v' was not declared in this scope
         v[i].push_back(0),v[i].push_back(m+1);
         ^


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-28 04:59:47, Gzip enabled