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_19116913_5369.cpp: In function 'void build(int, int, int)':
0_0_19116913_5369.cpp:40:18: error: cannot convert 'short int (*)[22]' to 'short int (*)[19]' for argument '2' to 'void cal(int, short int (*)[19])'
   cal(l,tree[num]);
                  ^
0_0_19116913_5369.cpp:46:47: error: cannot convert 'short int (*)[22]' to 'short int (*)[19]' for argument '1' to 'void Merge(short int (*)[19], short int (*)[19], short int (*)[19])'
  Merge(tree[num<<1],tree[1+(num<<1)],tree[num]);
                                               ^
0_0_19116913_5369.cpp: In function 'void change(int, int, int, int)':
0_0_19116913_5369.cpp:52:18: error: cannot convert 'short int (*)[22]' to 'short int (*)[19]' for argument '2' to 'void cal(int, short int (*)[19])'
   cal(l,tree[num]);
                  ^
0_0_19116913_5369.cpp:58:47: error: cannot convert 'short int (*)[22]' to 'short int (*)[19]' for argument '1' to 'void Merge(short int (*)[19], short int (*)[19], short int (*)[19])'
  Merge(tree[num<<1],tree[1+(num<<1)],tree[num]);
                                               ^


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-30 06:38:23, Gzip enabled