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_33316941_15275.cpp:1:1: error: 'include' does not name a type
 include<stdio.h>
 ^
0_0_33316941_15275.cpp: In function 'int chazhao(int)':
0_0_33316941_15275.cpp:5:8: error: 'a' was not declared in this scope
     if(a[fz]!=fz)
        ^
0_0_33316941_15275.cpp: In function 'void hebing(int, int)':
0_0_33316941_15275.cpp:17:9: error: 'a' was not declared in this scope
         a[xx]=yy;
         ^
0_0_33316941_15275.cpp: In function 'int main()':
0_0_33316941_15275.cpp:22:25: error: 'x' was not declared in this scope
     while(scanf("%d%d",&x,&y)==2&&x!=0)
                         ^
0_0_33316941_15275.cpp:22:28: error: 'y' was not declared in this scope
     while(scanf("%d%d",&x,&y)==2&&x!=0)
                            ^
0_0_33316941_15275.cpp:22:29: error: 'scanf' was not declared in this scope
     while(scanf("%d%d",&x,&y)==2&&x!=0)
                             ^
0_0_33316941_15275.cpp:26:9: error: 'a' was not declared in this scope
         a[i]=i;
         ^
0_0_33316941_15275.cpp:31:27: error: 'fx' was not declared in this scope
             scanf("%d%d",&fx,&fy);
                           ^
0_0_33316941_15275.cpp:31:31: error: 'fy' was not declared in this scope
             scanf("%d%d",&fx,&fy);
                               ^
0_0_33316941_15275.cpp:36:16: error: 'a' was not declared in this scope
             if(a[i]==i)
                ^
0_0_33316941_15275.cpp:41:28: error: 'printf' was not declared in this scope
         printf("%d\n",num-1);
                            ^


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-16 21:13:46, Gzip enabled