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_25825105_988.cpp: In function 'int new_node(int)':
0_0_25825105_988.cpp:14:5: error: 'sz' was not declared in this scope
     sz++;
     ^
0_0_25825105_988.cpp:18:16: error: 'tot' was not declared in this scope
     size[sz]=1;tot[sz]=cnt;
                ^
0_0_25825105_988.cpp:18:24: error: 'cnt' was not declared in this scope
     size[sz]=1;tot[sz]=cnt;
                        ^
0_0_25825105_988.cpp: In function 'int main()':
0_0_25825105_988.cpp:68:29: error: 'q' was not declared in this scope
     while(scanf("%d %d",&n,&q)!=EOF){
                             ^
0_0_25825105_988.cpp:87:28: error: invalid types 'int[int]' for array subscript
         printf("%d\n",val[x]);
                            ^
0_0_25825105_988.cpp:92:28: error: invalid types 'int[int]' for array subscript
         printf("%d\n",val[y]);
                            ^
0_0_25825105_988.cpp:97:26: error: 'v' was not declared in this scope
        u=read(),u=read(),v=read(),w=read();
                          ^


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-09-29 12:19:14, Gzip enabled