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_35279922_49.c: In function 'main':
0_0_35279922_49.c:8:6: error: conflicting types for 'a'
  int a[12]={31,29,31,30,31,30,31,31,30,31,30,31};
      ^
0_0_35279922_49.c:5:7: note: previous declaration of 'a' was here
  char a,b;
       ^
0_0_35279922_49.c:9:6: error: conflicting types for 'b'
  int b[12]={31,28,31,30,31,30,31,31,30,31,30,31};
      ^
0_0_35279922_49.c:5:9: note: previous declaration of 'b' was here
  char a,b;
         ^


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-10-06 22:46:34, Gzip enabled