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_38583077_23588.cpp:5:1: error: 'vector' does not name a type; did you mean 'perror'?
 vector<int> v[100010];
 ^~~~~~
 perror
0_0_38583077_23588.cpp: In function 'void solve()':
0_0_38583077_23588.cpp:75:29: error: 'v' was not declared in this scope
     for(int i=1;i<=n;i++)   v[i].clear();
                             ^
0_0_38583077_23588.cpp:79:9: error: 'v' was not declared in this scope
         v[x].push_back(y);
         ^
0_0_38583077_23588.cpp:83:9: error: 'v' was not declared in this scope
         v[i].push_back(0),v[i].push_back(m+1);
         ^
0_0_38583077_23588.cpp:91:18: error: 'r' was not declared in this scope
             if(l>r) continue;
                  ^
0_0_38583077_23588.cpp:92:31: error: 'r' was not declared in this scope
             int t=ask(0,1,m,l,r);
                               ^


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:57:05, Gzip enabled