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_21349736_25713.cpp: In function 'void merge(std::vector<int>&, int*)':
0_0_21349736_25713.cpp:69:23: error: 'pv' was not declared in this scope
     for(int i = 0;i < pv;++i) {
                       ^
0_0_21349736_25713.cpp: In function 'void bcc(int, int)':
0_0_21349736_25713.cpp:103:27: error: invalid types 'int[int]' for array subscript
                     v[pv++] = e[j].w;
                           ^
0_0_21349736_25713.cpp:106:32: error: invalid conversion from 'int' to 'int*' [-fpermissive]
                     merge(ans,v);
                                ^
0_0_21349736_25713.cpp:66:13: note: initializing argument 2 of 'void merge(std::vector<int>&, int*)'
 inline void merge(vector<int>& V,int *b) {
             ^


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-09-29 10:24:34, Gzip enabled