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_17202899_29200.cpp:50:2: error: stray '#' in program
 }#define N 205
  ^
0_0_17202899_29200.cpp: In function 'void Update(int&, int)':
0_0_17202899_29200.cpp:10:21: error: 'min' was not declared in this scope
     else a = min(a,b);
                     ^
0_0_17202899_29200.cpp: In function 'int main()':
0_0_17202899_29200.cpp:14:23: error: 'strlen' was not declared in this scope
     glen = strlen(goal);
                       ^
0_0_17202899_29200.cpp:15:14: error: 'S' was not declared in this scope
     while(S(n)!=EOF)
              ^
0_0_17202899_29200.cpp:15:17: error: 'EOF' was not declared in this scope
     while(S(n)!=EOF)
                 ^
0_0_17202899_29200.cpp:18:19: error: 'SS' was not declared in this scope
             SS(str);len = strlen(str);
                   ^
0_0_17202899_29200.cpp:19:19: error: 'FI' was not declared in this scope
             FI(len){
                   ^
0_0_17202899_29200.cpp:26:22: error: 'FJ' was not declared in this scope
                 FJ(10){
                      ^
0_0_17202899_29200.cpp:30:22: error: 'fill' was not declared in this scope
             fill(dp,0);
                      ^
0_0_17202899_29200.cpp:32:22: error: 'FJ' was not declared in this scope
                 FJ(11){
                      ^
0_0_17202899_29200.cpp:44:31: error: 'printf' was not declared in this scope
                 printf("YES\n");
                               ^
0_0_17202899_29200.cpp:46:30: error: 'printf' was not declared in this scope
                 printf("NO\n");
                              ^
0_0_17202899_29200.cpp: At global scope:
0_0_17202899_29200.cpp:50:3: error: 'define' does not name a type
 }#define N 205
   ^
0_0_17202899_29200.cpp:55:11: error: redefinition of 'char str [205]'
 char str[N];
           ^
0_0_17202899_29200.cpp:6:6: note: 'char str [205]' previously declared here
 char str[N];
      ^
0_0_17202899_29200.cpp:56:13: error: redefinition of 'char goal [20]'
 char goal[20] = "anniversary";
             ^
0_0_17202899_29200.cpp:7:6: note: 'char goal [20]' previously defined here
 char goal[20] = "anniversary";
      ^
0_0_17202899_29200.cpp: In function 'int main()':
0_0_17202899_29200.cpp:67:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17202899_29200.cpp:12:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_17202899_29200.cpp:69:23: error: 'strlen' was not declared in this scope
     glen = strlen(goal);
                       ^
0_0_17202899_29200.cpp:70:14: error: 'S' was not declared in this scope
     while(S(n)!=EOF)
              ^
0_0_17202899_29200.cpp:70:17: error: 'EOF' was not declared in this scope
     while(S(n)!=EOF)
                 ^
0_0_17202899_29200.cpp:73:19: error: 'SS' was not declared in this scope
             SS(str);len = strlen(str);
                   ^
0_0_17202899_29200.cpp:75:27: error: 'printf' was not declared in this scope
             printf("YES\n");
                           ^
0_0_17202899_29200.cpp:77:26: error: 'printf' was not declared in this scope
             printf("NO\n");
                          ^


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-12-04 08:40:49, Gzip enabled