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_17753538_14427.cpp: In function 'void build(int, int, int)':
0_0_17753538_14427.cpp:40:12: error: 'A' was not declared in this scope
   t[i].ans=A[l]>=B[l];
            ^
0_0_17753538_14427.cpp:40:18: error: 'B' was not declared in this scope
   t[i].ans=A[l]>=B[l];
                  ^
0_0_17753538_14427.cpp:47:13: error: too few arguments to function 'void build(int, int, int)'
  build(l,mid);
             ^
0_0_17753538_14427.cpp:38:6: note: declared here
 void build(int i,int l,int r){//Waiting
      ^
0_0_17753538_14427.cpp:48:15: error: too few arguments to function 'void build(int, int, int)'
  build(mid+1,r);
               ^
0_0_17753538_14427.cpp:38:6: note: declared here
 void build(int i,int l,int r){//Waiting
      ^
0_0_17753538_14427.cpp:56:25: error: 'B' was not declared in this scope
   L.push_back(make_pair(B[j],0)); 
                         ^
0_0_17753538_14427.cpp:61:25: error: 'B' was not declared in this scope
   R.push_back(make_pair(B[j],0)); 
                         ^
0_0_17753538_14427.cpp: In function 'void C(int, int, int, int, int, int, int)':
0_0_17753538_14427.cpp:91:51: error: 'void C(int, int, int, int, int, int, int)' redeclared as different kind of symbol
 void C(int i,int l,int r,int l0,int r0,int x,int p){
                                                   ^
0_0_17753538_14427.cpp:10:12: note: previous declaration 'int C'
 int a, b , C = ~(1<<31), M = (1<<16)-1;
            ^
0_0_17753538_14427.cpp:98:27: error: 'C' cannot be used as a function
  if(l0<=mid)C(lson,l0,r0,x);
                           ^
0_0_17753538_14427.cpp:99:26: error: 'C' cannot be used as a function
  if(r0>mid)C(rson,l0,r0,x);
                          ^
0_0_17753538_14427.cpp: In function 'void solve()':
0_0_17753538_14427.cpp:103:2: error: 'n' was not declared in this scope
  n=getn();m=getn();
  ^
0_0_17753538_14427.cpp:103:11: error: 'm' was not declared in this scope
  n=getn();m=getn();
           ^
0_0_17753538_14427.cpp:106:23: error: 'A' was not declared in this scope
  for(int i=1;i<=n;i++)A[i]=getn();
                       ^
0_0_17753538_14427.cpp:107:23: error: 'B' was not declared in this scope
  for(int i=1;i<=n;i++)B[i]=getn();
                       ^
0_0_17753538_14427.cpp:119:8: error: 'r' was not declared in this scope
   if(l>r)swap(l,r);
        ^
0_0_17753538_14427.cpp:120:9: error: 'r' was not declared in this scope
   if((l+r+x)&1){
         ^
0_0_17753538_14427.cpp:120:11: error: 'x' was not declared in this scope
   if((l+r+x)&1){
           ^
0_0_17753538_14427.cpp:125:19: error: 'C' cannot be used as a function
    C(1,1,n,l,r,x,p);
                   ^


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-29 22:10:06, Gzip enabled