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_17318531_10532.cpp: In function 'void built(int, int, int)':
0_0_17318531_10532.cpp:22:17: error: 'build' was not declared in this scope
   build(k<<1,l,m);
                 ^
0_0_17318531_10532.cpp: At global scope:
0_0_17318531_10532.cpp:32:16: error: expected ')' before ';' token
 int query(int i;int a;int b)
                ^
0_0_17318531_10532.cpp:32:28: error: expected initializer before ')' token
 int query(int i;int a;int b)
                            ^
0_0_17318531_10532.cpp: In function 'void init()':
0_0_17318531_10532.cpp:46:16: error: 'build' was not declared in this scope
     build(1,1,n);
                ^
0_0_17318531_10532.cpp: In function 'void work()':
0_0_17318531_10532.cpp:58:58: error: too many arguments to function 'int query(int)'
         if (!strcmp(s,"Query")) printf("%d\n",query(1,a,b));
                                                          ^
0_0_17318531_10532.cpp:32:5: note: declared here
 int query(int i;int a;int b)
     ^


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 04:58:14, Gzip enabled