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_33286128_11264.cpp: In function 'void update(int, int, int, int, int)':
0_0_33286128_11264.cpp:37:9: error: declaration of 'int a' shadows a parameter
     int a,b;
         ^
0_0_33286128_11264.cpp:37:11: error: declaration of 'int b' shadows a parameter
     int a,b;
           ^
0_0_33286128_11264.cpp:38:26: error: 'n' was not declared in this scope
     while(~scanf("%d%d",&n,&m))
                          ^
0_0_33286128_11264.cpp:47:46: error: 'query' was not declared in this scope
                 printf("%d\n",query(a,b,1,n,1));
                                              ^
0_0_33286128_11264.cpp:52:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
     return 0;
            ^


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-01 17:17:53, Gzip enabled