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_32621680_10753.cpp: In function 'int main()':
0_0_32621680_10753.cpp:40:43: error: cannot convert 'long long int*' to 'long int*' for argument '3' to 'void add(long int, long int, long int*)'
                 add(a/k,c,sum[getnum(a,k)]);
                                           ^
0_0_32621680_10753.cpp:41:46: error: cannot convert 'long long int*' to 'long int*' for argument '3' to 'void add(long int, long int, long int*)'
                 add(b/k+1,-c,sum[getnum(a,k)]);
                                              ^
0_0_32621680_10753.cpp:46:52: error: cannot convert 'long long int*' to 'long int*' for argument '2' to 'long long int query(long int, long int*)'
                     ans+=query(x/k,sum[getnum(x,k)]);
                                                    ^


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-29 23:57:58, Gzip enabled