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_13802264_17381.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13802264_17381.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13802264_17381.cpp:12:1: error: expected ']' before 'void'
 void build(int left, int right, int n)
 ^
0_0_13802264_17381.cpp: In function 'void update(int, int)':
0_0_13802264_17381.cpp:24:8: error: 's' was not declared in this scope
     if(s[n].left == id && s[n].right == id)
        ^
0_0_13802264_17381.cpp:29:16: error: 's' was not declared in this scope
     int mid = (s[n].left + s[n].right)  1;
                ^
0_0_13802264_17381.cpp:31:9: error: expected ')' before 'update'
         update(id, n
         ^
0_0_13802264_17381.cpp:35:1: error: expected primary-expression before '}' token
 }
 ^
0_0_13802264_17381.cpp: In function 'int query(int, int, int)':
0_0_13802264_17381.cpp:38:8: error: 's' was not declared in this scope
     if(s[n].maxx 
        ^
0_0_13802264_17381.cpp:39:5: error: expected ')' before 'if'
     if(s[n].left == s[n].right)
     ^
0_0_13802264_17381.cpp:41:16: error: 's' was not declared in this scope
     int mid = (s[n].left + s[n].right)  1;
                ^
0_0_13802264_17381.cpp:42:16: error: expected ']' before ')' token
     if(s[n= num)//�����������§Ó�ѯ
                ^
0_0_13802264_17381.cpp:44:5: error: expected ')' before 'else'
     else
     ^
0_0_13802264_17381.cpp:46:1: error: expected ';' before '}' token
 }
 ^
0_0_13802264_17381.cpp: In function 'int main()':
0_0_13802264_17381.cpp:50:39: error: 'scanf' was not declared in this scope
  while(~scanf("%d%d%d",&heigh,&wide,&m))
                                       ^
0_0_13802264_17381.cpp:52:31: error: 'build' was not declared in this scope
      m=heigh ? build(1,heigh,1):build(1,m,1);//����ʱҪע��
                               ^
0_0_13802264_17381.cpp:57:37: error: 'printf' was not declared in this scope
          if(ans == -1) printf("-1\n");
                                     ^
0_0_13802264_17381.cpp:60:31: error: 'printf' was not declared in this scope
              printf("%d\n",ans);
                               ^


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-23 10:53:56, Gzip enabled