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_21799495_19494.cpp:1:7: error: stray '#' in program
  #include<stdio.h>
       ^
0_0_21799495_19494.cpp:1:6: error: expected constructor, destructor, or type conversion before ';' token
  #include<stdio.h>
      ^
0_0_21799495_19494.cpp:1:8: error: 'include' does not name a type
  #include<stdio.h>
        ^
0_0_21799495_19494.cpp: In function 'void Memcpy(bool*, bool*)':
0_0_21799495_19494.cpp:9:2: error: 'nbsp' was not declared in this scope
     for(int i=0;i<N;i++)
  ^
0_0_21799495_19494.cpp:10:46: error: 'i' was not declared in this scope
         d[i]=s[i];
                                              ^
0_0_21799495_19494.cpp: In function 'int FindAdj(int, bool*)':
0_0_21799495_19494.cpp:13:2: error: 'nbsp' was not declared in this scope
     for(int i=start+1;i<N;i++)
  ^
0_0_21799495_19494.cpp:14:49: error: 'i' was not declared in this scope
         if(s[i])
                                                 ^
0_0_21799495_19494.cpp:15:75: error: 'i' was not declared in this scope
             return i;
                                                                           ^
0_0_21799495_19494.cpp: In function 'void DFS(bool*, int, int)':
0_0_21799495_19494.cpp:19:2: error: 'nbsp' was not declared in this scope
     int first=FindAdj(start,s),i;
  ^
0_0_21799495_19494.cpp:28:73: error: 'dp' was not declared in this scope
         if(depth+N-start<=dfs||depth+dp[first]<=dfs)
                                                                         ^
0_0_21799495_19494.cpp: In function 'int main()':
0_0_21799495_19494.cpp:39:2: error: 'nbsp' was not declared in this scope
     int i,j;
  ^
0_0_21799495_19494.cpp:40:39: error: 'scanf' was not declared in this scope
     while(scanf("%d",&N)&&N){
                                       ^
0_0_21799495_19494.cpp:48:68: error: 'dp' was not declared in this scope
             dp[i]=dfs;
                                                                    ^
0_0_21799495_19494.cpp:50:58: error: 'dp' was not declared in this scope
         printf("%d\n",dp[0]);
                                                          ^
0_0_21799495_19494.cpp:50:63: error: 'printf' was not declared in this scope
         printf("%d\n",dp[0]);
                                                               ^


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 13:22:54, Gzip enabled