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_25827436_28625.cpp:101:2: error: stray '#' in program
 }#include<cstdio>
  ^
0_0_25827436_28625.cpp:201:2: error: stray '#' in program
 }#include<cstdio>
  ^
0_0_25827436_28625.cpp:101:3: error: 'include' does not name a type
 }#include<cstdio>
   ^
0_0_25827436_28625.cpp: In function 'int getint()':
0_0_25827436_28625.cpp:117:5: error: redefinition of 'int getint()'
 int getint()
     ^
0_0_25827436_28625.cpp:17:5: note: 'int getint()' previously defined here
 int getint()
     ^
0_0_25827436_28625.cpp: In function 'void putint(int)':
0_0_25827436_28625.cpp:127:6: error: redefinition of 'void putint(int)'
 void putint(int n)
      ^
0_0_25827436_28625.cpp:27:6: note: 'void putint(int)' previously defined here
 void putint(int n)
      ^
0_0_25827436_28625.cpp: At global scope:
0_0_25827436_28625.cpp:144:7: error: redefinition of 'int a []'
 int a[]={0,31,28,31,30,31,30,31,31,30,31,30,31};
       ^
0_0_25827436_28625.cpp:44:5: note: 'int a [13]' previously defined here
 int a[]={0,31,28,31,30,31,30,31,31,30,31,30,31};
     ^
0_0_25827436_28625.cpp:145:10: error: redefinition of 'char s [20]'
 char s[20];
          ^
0_0_25827436_28625.cpp:45:6: note: 'char s [20]' previously declared here
 char s[20];
      ^
0_0_25827436_28625.cpp: In function 'bool check()':
0_0_25827436_28625.cpp:147:6: error: redefinition of 'bool check()'
 bool check()
      ^
0_0_25827436_28625.cpp:47:6: note: 'bool check()' previously defined here
 bool check()
      ^
0_0_25827436_28625.cpp: At global scope:
0_0_25827436_28625.cpp:167:4: error: redefinition of 'long long int ans'
 LL ans;
    ^
0_0_25827436_28625.cpp:67:4: note: 'long long int ans' previously declared here
 LL ans;
    ^
0_0_25827436_28625.cpp:168:5: error: redefinition of 'int n'
 int n,d,c,T;
     ^
0_0_25827436_28625.cpp:68:5: note: 'int n' previously declared here
 int n,d,c,T;
     ^
0_0_25827436_28625.cpp:168:7: error: redefinition of 'int d'
 int n,d,c,T;
       ^
0_0_25827436_28625.cpp:68:7: note: 'int d' previously declared here
 int n,d,c,T;
       ^
0_0_25827436_28625.cpp:168:9: error: redefinition of 'int c'
 int n,d,c,T;
         ^
0_0_25827436_28625.cpp:68:9: note: 'int c' previously declared here
 int n,d,c,T;
         ^
0_0_25827436_28625.cpp:168:11: error: redefinition of 'int T'
 int n,d,c,T;
           ^
0_0_25827436_28625.cpp:68:11: note: 'int T' previously declared here
 int n,d,c,T;
           ^
0_0_25827436_28625.cpp:169:6: error: redefinition of 'bool b'
 bool b;
      ^
0_0_25827436_28625.cpp:69:6: note: 'bool b' previously declared here
 bool b;
      ^
0_0_25827436_28625.cpp: In function 'int main()':
0_0_25827436_28625.cpp:171:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_25827436_28625.cpp:71:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_25827436_28625.cpp: At global scope:
0_0_25827436_28625.cpp:201:3: error: 'include' does not name a type
 }#include<cstdio>
   ^
0_0_25827436_28625.cpp: In function 'int getint()':
0_0_25827436_28625.cpp:217:5: error: redefinition of 'int getint()'
 int getint()
     ^
0_0_25827436_28625.cpp:17:5: note: 'int getint()' previously defined here
 int getint()
     ^
0_0_25827436_28625.cpp: In function 'void putint(int)':
0_0_25827436_28625.cpp:227:6: error: redefinition of 'void putint(int)'
 void putint(int n)
      ^
0_0_25827436_28625.cpp:27:6: note: 'void putint(int)' previously defined here
 void putint(int n)
      ^
0_0_25827436_28625.cpp: At global scope:
0_0_25827436_28625.cpp:244:7: error: redefinition of 'int a []'
 int a[]={0,31,28,31,30,31,30,31,31,30,31,30,31};
       ^
0_0_25827436_28625.cpp:44:5: note: 'int a [13]' previously defined here
 int a[]={0,31,28,31,30,31,30,31,31,30,31,30,31};
     ^
0_0_25827436_28625.cpp:245:10: error: redefinition of 'char s [20]'
 char s[20];
          ^
0_0_25827436_28625.cpp:45:6: note: 'char s [20]' previously declared here
 char s[20];
      ^
0_0_25827436_28625.cpp: In function 'bool check()':
0_0_25827436_28625.cpp:247:6: error: redefinition of 'bool check()'
 bool check()
      ^
0_0_25827436_28625.cpp:47:6: note: 'bool check()' previously defined here
 bool check()
      ^
0_0_25827436_28625.cpp: At global scope:
0_0_25827436_28625.cpp:267:4: error: redefinition of 'long long int ans'
 LL ans;
    ^
0_0_25827436_28625.cpp:67:4: note: 'long long int ans' previously declared here
 LL ans;
    ^
0_0_25827436_28625.cpp:268:5: error: redefinition of 'int n'
 int n,d,c,T;
     ^
0_0_25827436_28625.cpp:68:5: note: 'int n' previously declared here
 int n,d,c,T;
     ^
0_0_25827436_28625.cpp:268:7: error: redefinition of 'int d'
 int n,d,c,T;
       ^
0_0_25827436_28625.cpp:68:7: note: 'int d' previously declared here
 int n,d,c,T;
       ^
0_0_25827436_28625.cpp:268:9: error: redefinition of 'int c'
 int n,d,c,T;
         ^
0_0_25827436_28625.cpp:68:9: note: 'int c' previously declared here
 int n,d,c,T;
         ^
0_0_25827436_28625.cpp:268:11: error: redefinition of 'int T'
 int n,d,c,T;
           ^
0_0_25827436_28625.cpp:68:11: note: 'int T' previously declared here
 int n,d,c,T;
           ^
0_0_25827436_28625.cpp:269:6: error: redefinition of 'bool b'
 bool b;
      ^
0_0_25827436_28625.cpp:69:6: note: 'bool b' previously declared here
 bool b;
      ^
0_0_25827436_28625.cpp: In function 'int main()':
0_0_25827436_28625.cpp:271:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_25827436_28625.cpp:71:5: note: 'int main()' previously defined here
 int main()
     ^


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-22 10:27:09, Gzip enabled