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_17298715_25968.cpp: In function 'bool check(int)':
0_0_17298715_25968.cpp:22:18: error: 'y' was not declared in this scope
     rep(i,1,m)if(y[i]>S){
                  ^
0_0_17298715_25968.cpp:23:17: error: redeclaration of 'int y'
 int p=l[i]+r[i],y=r[i]-l[i];
                 ^
0_0_17298715_25968.cpp:22:18: note: '<typeprefixerror>y' previously declared here
     rep(i,1,m)if(y[i]>S){
                  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-18 16:10:18, Gzip enabled