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_28685769_9629.cpp:4:1: error: expected ',' or ';' before 'int'
 int n,m,x,y,x1,y1,root,ans;
 ^
0_0_28685769_9629.cpp: In function 'int main()':
0_0_28685769_9629.cpp:13:22: error: 'n' was not declared in this scope
  while(scanf("%d%d",&n,&m)!=EOF){
                      ^
0_0_28685769_9629.cpp:13:25: error: 'm' was not declared in this scope
  while(scanf("%d%d",&n,&m)!=EOF){
                         ^
0_0_28685769_9629.cpp:17:3: error: 'ans' was not declared in this scope
   ans=0;
   ^
0_0_28685769_9629.cpp:19:18: error: 'x' was not declared in this scope
    scanf("%d%d",&x,&y);
                  ^
0_0_28685769_9629.cpp:19:21: error: 'y' was not declared in this scope
    scanf("%d%d",&x,&y);
                     ^
0_0_28685769_9629.cpp:22:4: error: 'x1' was not declared in this scope
    x1=get1(x);
    ^
0_0_28685769_9629.cpp:23:4: error: 'y1' was not declared in this scope
    y1=get1(y);
    ^
0_0_28685769_9629.cpp:27:4: error: 'root' was not declared in this scope
    root=get1(i);
    ^


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-26 12:33:58, Gzip enabled