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_27956078_19435.cpp:10:1: error: invalid use of template-name 'std::vector' without an argument list
 vector
 ^
0_0_27956078_19435.cpp: In function 'void update_l(int)':
0_0_27956078_19435.cpp:31:19: error: 'vl' was not declared in this scope
     for(int i=0;i<vl[l].size();i++)
                   ^
0_0_27956078_19435.cpp:34:12: error: 'p' was not declared in this scope
         if(p<=r)temp+=1ll*(p-last+1)*g,last=p+1;
            ^
0_0_27956078_19435.cpp: In function 'void update_r(int)':
0_0_27956078_19435.cpp:47:19: error: 'vr' was not declared in this scope
     for(int i=0;i<vr[r].size();i++)
                   ^
0_0_27956078_19435.cpp:50:12: error: 'p' was not declared in this scope
         if(p>=l)temp+=1ll*(last-p+1)*g,last=p-1;
            ^
0_0_27956078_19435.cpp: In function 'int main()':
0_0_27956078_19435.cpp:69:13: error: 'vl' was not declared in this scope
             vl[i].clear(),vr[i].clear();
             ^
0_0_27956078_19435.cpp:69:27: error: 'vr' was not declared in this scope
             vl[i].clear(),vr[i].clear();
                           ^
0_0_27956078_19435.cpp:71:9: error: 'vl' was not declared in this scope
         vl[n+1].clear(),vr[0].clear();
         ^
0_0_27956078_19435.cpp:71:25: error: 'vr' was not declared in this scope
         vl[n+1].clear(),vr[0].clear();
                         ^


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