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_39850640_19103.cpp: In function 'void build(int, int, int)':
0_0_39850640_19103.cpp:30:9: error: 'getmid' was not declared in this scope; did you mean 'getpid'?
   30 |         getmid;
      |         ^~~~~~
      |         getpid
0_0_39850640_19103.cpp:31:18: error: 'mid' was not declared in this scope
   31 |         build(le,mid,k<<1);
      |                  ^~~
0_0_39850640_19103.cpp: In function 'void query_son(int, int)':
0_0_39850640_19103.cpp:42:9: error: 'getmid' was not declared in this scope; did you mean 'getpid'?
   42 |         getmid;
      |         ^~~~~~
      |         getpid
0_0_39850640_19103.cpp:43:18: error: 'mid' was not declared in this scope
   43 |         if(act1<=mid) query_son(k1,kk<<1);
      |                  ^~~
0_0_39850640_19103.cpp:44:17: error: 'mid' was not declared in this scope
   44 |         if(act2>mid) query_son(k1,kk<<1|1);
      |                 ^~~
0_0_39850640_19103.cpp: In function 'void update_son(int, int)':
0_0_39850640_19103.cpp:64:9: error: 'getmid' was not declared in this scope; did you mean 'getpid'?
   64 |         getmid;
      |         ^~~~~~
      |         getpid
0_0_39850640_19103.cpp:65:17: error: 'mid' was not declared in this scope
   65 |         if(act<=mid) update_son(k1,kk<<1);
      |                 ^~~
0_0_39850640_19103.cpp: In function 'int main()':
0_0_39850640_19103.cpp:79:15: error: 'input' was not declared in this scope; did you mean 'int'?
   79 |         while(input(m),m){
      |               ^~~~~
      |               int


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-12-05 03:34:12, Gzip enabled