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_23059105_23137.cpp:23:12: error: 'N' was not declared in this scope
 double cur[N];
            ^
0_0_23059105_23137.cpp: In function 'void change(int, int, int)':
0_0_23059105_23137.cpp:32:16: error: 'cur' was not declared in this scope
   tree[root] = cur[r] - cur[l]; 
                ^
0_0_23059105_23137.cpp: In function 'int bin(double, int, int)':
0_0_23059105_23137.cpp:65:11: error: 'cur' was not declared in this scope
   if(x == cur[mid]){
           ^
0_0_23059105_23137.cpp: In function 'int main()':
0_0_23059105_23137.cpp:101:4: error: 'cur' was not declared in this scope
    cur[m++] = x1;
    ^
0_0_23059105_23137.cpp:108:8: error: 'cur' was not declared in this scope
   sort(cur + 1 , cur + m-1);
        ^


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-17 08:20:14, Gzip enabled