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_28977416_2815.cpp: In function 'void change(int, int, int, int, int, int)':
0_0_28977416_2815.cpp:17:40: error: too few arguments to function 'void change(int, int, int, int, int, int)'
  if(lst<=mid)change(nd<<1,l,mid,lst,rst);
                                        ^
0_0_28977416_2815.cpp:8:6: note: declared here
 void change(int nd,int l,int r,int lst,int rst,int c)
      ^
0_0_28977416_2815.cpp:18:43: error: too few arguments to function 'void change(int, int, int, int, int, int)'
  if(rst>mid)change(nd<<1|1,mid+1,r,lst,rst);
                                           ^
0_0_28977416_2815.cpp:8:6: note: declared here
 void change(int nd,int l,int r,int lst,int rst,int c)
      ^
0_0_28977416_2815.cpp:19:12: error: 'push_up' was not declared in this scope
  push_up(nd);
            ^
0_0_28977416_2815.cpp: In function 'int main()':
0_0_28977416_2815.cpp:31:29: error: 'refl' was not declared in this scope
   tmp=lb(t+1,t+1+m,xl[i])-t,refl[tmp]=xl[i],xl[i]=tmp,
                             ^
0_0_28977416_2815.cpp:34:30: error: 'refl' was not declared in this scope
  for(int i=1;i<=mx;i++)wx[i]=refl[i+1]-refl[i];
                              ^
0_0_28977416_2815.cpp:41:29: error: 'refl' was not declared in this scope
   tmp=lb(t+1,t+1+m,yl[i])-t,refl[tmp]=yl[i],yl[i]=tmp,
                             ^
0_0_28977416_2815.cpp:44:38: error: 'refl' was not declared in this scope
  for(int i=1;i<=my;i++)sy[i]=sy[i-1]+refl[i+1]-refl[i];
                                      ^
0_0_28977416_2815.cpp:48:2: error: expected ';' before '}' token
  }
  ^


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-12-05 07:37:40, Gzip enabled