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_33952612_4847.cpp: In function 'int readint()':
0_0_33952612_4847.cpp:9:9: error: 'sc' was not declared in this scope
         sc;
         ^
0_0_33952612_4847.cpp:13:9: error: 'sc' was not declared in this scope
         sc;
         ^
0_0_33952612_4847.cpp: In function 'void build(int, int)':
0_0_33952612_4847.cpp:44:26: error: too many arguments to function 'void build(int, int)'
     build(son[x][0],l,mid);
                          ^
0_0_33952612_4847.cpp:36:6: note: declared here
 void build(int l,int r){
      ^
0_0_33952612_4847.cpp:45:28: error: too many arguments to function 'void build(int, int)'
     build(son[x][0],mid+1,r);
                            ^
0_0_33952612_4847.cpp:36:6: note: declared here
 void build(int l,int r){
      ^
0_0_33952612_4847.cpp: In function 'int main()':
0_0_33952612_4847.cpp:75:16: error: void value not ignored as it ought to be
     rt[1]=rt[0]=build(1,n);
                ^
0_0_33952612_4847.cpp:76:11: error: 't' was not declared in this scope
     while(t--){
           ^


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 08:37:32, Gzip enabled