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_18340915_22494.cpp: In member function 'void tree::initchain(int, int)':
0_0_18340915_22494.cpp:180:44: error: no matching function for call to 'segment_tree::init_all(int&, int, int, int [111111])'
      segment.init_all(i, 0, n - 1, val_rank);
                                            ^
0_0_18340915_22494.cpp:180:44: note: candidate is:
0_0_18340915_22494.cpp:85:10: note: void segment_tree::init_all(int, int, int, add_t*)
     void init_all(int i, int l, int r, add_t val[]) {
          ^
0_0_18340915_22494.cpp:85:10: note:   no known conversion for argument 4 from 'int [111111]' to 'add_t*'


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-07-08 12:03:53, Gzip enabled