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_29953465_30529.cpp: In function 'void update(int&, int, int, int, int, int, int)':
0_0_29953465_30529.cpp:41:20: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
         update(le[e],le[p],l,mid,a,b,d);
                    ^
0_0_29953465_30529.cpp:27:6: note: in passing argument 1 of 'void update(int&, int, int, int, int, int, int)'
 void update(int &e,int p,int l,int r,int a,int b,int d)
      ^
0_0_29953465_30529.cpp:43:20: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
         update(ri[e],ri[p],mid+1,r,a,b,d);
                    ^
0_0_29953465_30529.cpp:27:6: note: in passing argument 1 of 'void update(int&, int, int, int, int, int, int)'
 void update(int &e,int p,int l,int r,int a,int b,int d)
      ^
0_0_29953465_30529.cpp:46:20: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
         update(le[e],le[p],l,mid,a,mid,d);
                    ^
0_0_29953465_30529.cpp:27:6: note: in passing argument 1 of 'void update(int&, int, int, int, int, int, int)'
 void update(int &e,int p,int l,int r,int a,int b,int d)
      ^
0_0_29953465_30529.cpp:47:20: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
         update(ri[e],ri[p],mid+1,r,mid+1,b,d);
                    ^
0_0_29953465_30529.cpp:27:6: note: in passing argument 1 of 'void update(int&, int, int, int, int, int, int)'
 void update(int &e,int p,int l,int r,int a,int b,int d)
      ^
0_0_29953465_30529.cpp: In function 'int main()':
0_0_29953465_30529.cpp:83:30: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
                 update(tr[now],tr[now-1],1,n,a,b,c);
                              ^
0_0_29953465_30529.cpp:27:6: note: in passing argument 1 of 'void update(int&, int, int, int, int, int, int)'
 void update(int &e,int p,int l,int r,int a,int b,int d)
      ^


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-18 14:50:46, Gzip enabled