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_26074513_11833.cpp: In function 'int main()':
0_0_26074513_11833.cpp:11:8: error: 'inty' was not declared in this scope
        inty,m,d,day;
        ^
0_0_26074513_11833.cpp:11:13: error: 'm' was not declared in this scope
        inty,m,d,day;
             ^
0_0_26074513_11833.cpp:11:15: error: 'd' was not declared in this scope
        inty,m,d,day;
               ^
0_0_26074513_11833.cpp:11:17: error: 'day' was not declared in this scope
        inty,m,d,day;
                 ^
0_0_26074513_11833.cpp:13:32: error: 'y' was not declared in this scope
        while(scanf("%d/%d/%d",&y,&m,&d)!=EOF)
                                ^
0_0_26074513_11833.cpp: In function 'int a(int, int, int)':
0_0_26074513_11833.cpp:31:8: error: 'inti' was not declared in this scope
        inti,day,l;
        ^
0_0_26074513_11833.cpp:31:13: error: 'day' was not declared in this scope
        inti,day,l;
             ^
0_0_26074513_11833.cpp:31:17: error: 'l' was not declared in this scope
        inti,day,l;
                 ^
0_0_26074513_11833.cpp:35:8: error: 'intn' was not declared in this scope
        intn[2][13]={{0,31,28,31,30,31,30,31,31,30,31,30,31},{0,31,29,31,30,31,30,31,31,30,31,30,31}};
        ^
0_0_26074513_11833.cpp:41:12: error: 'i' was not declared in this scope
        for(i=0;i<m;i++)
            ^
0_0_26074513_11833.cpp:44:23: error: 'n' was not declared in this scope
               day=day+n[l][i];
                       ^
0_0_26074513_11833.cpp:47:5: error: 'returnday' was not declared in this scope
     returnday+d;      
     ^
0_0_26074513_11833.cpp: At global scope:
0_0_26074513_11833.cpp:53:17: error: 'int Isleap' redeclared as different kind of symbol
  int Isleap(inty)
                 ^
0_0_26074513_11833.cpp:5:5: note: previous declaration 'int Isleap(int)'
 int Isleap(int y);
     ^
0_0_26074513_11833.cpp:53:13: error: 'inty' was not declared in this scope
  int Isleap(inty)
             ^


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 09:19:23, Gzip enabled