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_25962106_9073.cpp:63:60: error: redefinition of 'int l'
 void update( int root , int left , int right , int l , int l , int c ){
                                                            ^
0_0_25962106_9073.cpp:63:52: note: 'int l' previously declared here
 void update( int root , int left , int right , int l , int l , int c ){
                                                    ^
0_0_25962106_9073.cpp: In function 'void update(int, int, int, int, int)':
0_0_25962106_9073.cpp:70:60: error: too many arguments to function 'void update(int, int, int, int, int)'
  if ( l <= mid ) update( root * 2 , left , mid , l , l , c );
                                                            ^
0_0_25962106_9073.cpp:63:6: note: declared here
 void update( int root , int left , int right , int l , int l , int c ){
      ^
0_0_25962106_9073.cpp:71:68: error: too many arguments to function 'void update(int, int, int, int, int)'
  if ( r > mid ) update( root * 2 + 1 , mid + 1 , right , l , l , c );
                                                                    ^
0_0_25962106_9073.cpp:63:6: note: declared here
 void update( int root , int left , int right , int l , int l , int c ){
      ^
0_0_25962106_9073.cpp: In function 'void Tupdate(int, int, int)':
0_0_25962106_9073.cpp:77:46: error: too many arguments to function 'void update(int, int, int, int, int)'
   update( 1 , 1 , N , ID[Top[x]] , ID[x] , c );
                                              ^
0_0_25962106_9073.cpp:63:6: note: declared here
 void update( int root , int left , int right , int l , int l , int c ){
      ^
0_0_25962106_9073.cpp:81:40: error: too many arguments to function 'void update(int, int, int, int, int)'
  update( 1 , 1 , N , ID[y] , ID[x] , c );
                                        ^
0_0_25962106_9073.cpp:63:6: note: declared here
 void update( int root , int left , int right , int l , int l , int c ){
      ^


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-10-07 02:16:11, Gzip enabled