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_21854408_10165.cpp: In function 'void insert1(int, int, int, int*, int)':
0_0_21854408_10165.cpp:99:10: error: invalid conversion from 'int' to 'int*' [-fpermissive]
         y=++kkk;
          ^
0_0_21854408_10165.cpp:100:14: error: invalid types 'long long int [2501000][int*]' for array subscript
         sum[y]=sum[x]+c[s];
              ^
0_0_21854408_10165.cpp:103:13: error: invalid types 'int [2501000][int*]' for array subscript
         ls[y]=ls[x],rs[y]=rs[x];
             ^
0_0_21854408_10165.cpp:103:25: error: invalid types 'int [2501000][int*]' for array subscript
         ls[y]=ls[x],rs[y]=rs[x];
                         ^
0_0_21854408_10165.cpp:105:39: error: invalid types 'int [2501000][int*]' for array subscript
         if(s<=mid)r=mid,x=ls[x],y=ls[y];
                                       ^
0_0_21854408_10165.cpp:106:36: error: invalid types 'int [2501000][int*]' for array subscript
         else l=mid+1,x=rs[x],y=rs[y];
                                    ^


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-25 23:54:14, Gzip enabled