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_23666070_14672.cpp:8:11: error: variable or field 'read' declared void
 void read(ll &x){
           ^
0_0_23666070_14672.cpp:8:11: error: 'll' was not declared in this scope
0_0_23666070_14672.cpp:8:15: error: 'x' was not declared in this scope
 void read(ll &x){
               ^
0_0_23666070_14672.cpp: In function 'int cl(int, int)':
0_0_23666070_14672.cpp:24:12: error: 'ch' was not declared in this scope
   if (res!=ch[(mid-l+1)&1]){res=mid;r=mid-1;}
            ^
0_0_23666070_14672.cpp: In function 'int main()':
0_0_23666070_14672.cpp:31:7: error: 'n' was not declared in this scope
  read(n); read(x); read(y); 
       ^
0_0_23666070_14672.cpp:31:16: error: 'x' was not declared in this scope
  read(n); read(x); read(y); 
                ^
0_0_23666070_14672.cpp:31:25: error: 'y' was not declared in this scope
  read(n); read(x); read(y); 
                         ^
0_0_23666070_14672.cpp:32:2: error: 'l' was not declared in this scope
  l=0; r=n; ch[0]=0; ch[1]=x;
  ^
0_0_23666070_14672.cpp:32:7: error: 'r' was not declared in this scope
  l=0; r=n; ch[0]=0; ch[1]=x;
       ^
0_0_23666070_14672.cpp:32:12: error: 'ch' was not declared in this scope
  l=0; r=n; ch[0]=0; ch[1]=x;
            ^
0_0_23666070_14672.cpp:33:2: error: 'Q' was not declared in this scope
  Q[R++]=mp(l,r);
  ^
0_0_23666070_14672.cpp:33:4: error: 'R' was not declared in this scope
  Q[R++]=mp(l,r);
    ^
0_0_23666070_14672.cpp:33:15: error: 'mp' was not declared in this scope
  Q[R++]=mp(l,r);
               ^
0_0_23666070_14672.cpp:34:8: error: 'L' was not declared in this scope
  for (;L<=R;){
        ^
0_0_23666070_14672.cpp:39:8: error: 'res' was not declared in this scope
   read(res);
        ^


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-17 09:30:09, Gzip enabled