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_21743224_23005.cpp: In member function 'void Seg_T::Init(int, ll*)':
0_0_21743224_23005.cpp:53:38: error: 'mem' was not declared in this scope
         n=_n; if (_a==NULL) { mem(s,0); mem(lazy,0); return ; }
                                      ^
0_0_21743224_23005.cpp: In function 'int main()':
0_0_21743224_23005.cpp:86:20: error: no matching function for call to 'Seg_T::Init(int&, int [200009])'
         S.Init(n,nu);
                    ^
0_0_21743224_23005.cpp:86:20: note: candidate is:
0_0_21743224_23005.cpp:52:10: note: void Seg_T::Init(int, ll*)
     void Init(int _n,ll _a[]=NULL){
          ^
0_0_21743224_23005.cpp:52:10: note:   no known conversion for argument 2 from 'int [200009]' to 'll* {aka long long int*}'


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-28 07:17:35, Gzip enabled