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_33739425_30311\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_33739425_30311\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_33739425_30311\Main.java:3: 错误: 需要class, interface或enum
int isLeap(int y)
^
0_0_33739425_30311\Main.java:6: 错误: 需要class, interface或enum
}
^
0_0_33739425_30311\Main.java:10: 错误: 需要class, interface或enum
    while (~scanf("%d%d%d", &y, &m, &d))
    ^
0_0_33739425_30311\Main.java:15: 错误: 需要class, interface或enum
            continue;
            ^
0_0_33739425_30311\Main.java:16: 错误: 需要class, interface或enum
        }
        ^
0_0_33739425_30311\Main.java:20: 错误: 需要class, interface或enum
            continue;
            ^
0_0_33739425_30311\Main.java:21: 错误: 需要class, interface或enum
        }
        ^
0_0_33739425_30311\Main.java:25: 错误: 需要class, interface或enum
            continue;
            ^
0_0_33739425_30311\Main.java:26: 错误: 需要class, interface或enum
        }
        ^
0_0_33739425_30311\Main.java:30: 错误: 需要class, interface或enum
            continue;
            ^
0_0_33739425_30311\Main.java:31: 错误: 需要class, interface或enum
        }
        ^
0_0_33739425_30311\Main.java:35: 错误: 需要class, interface或enum
            y--;
            ^
0_0_33739425_30311\Main.java:36: 错误: 需要class, interface或enum
        }
        ^
0_0_33739425_30311\Main.java:38: 错误: 需要class, interface或enum
        y %= 100;//年份的后两位
        ^
0_0_33739425_30311\Main.java:39: 错误: 需要class, interface或enum
        w = c/4 - c*2 + y + y/4 + 13 * (m + 1) / 5 + d - 1;//蔡勒公式
        ^
0_0_33739425_30311\Main.java:40: 错误: 需要class, interface或enum
        w = (w % 7 + 7) % 7;//使结果为正数
        ^
0_0_33739425_30311\Main.java:41: 错误: 需要class, interface或enum
        printf("%s\n", ans[w]);
        ^
0_0_33739425_30311\Main.java:42: 错误: 需要class, interface或enum
    }
    ^
0_0_33739425_30311\Main.java:44: 错误: 需要class, interface或enum
}
^
21 个错误


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-05 06:02:28, Gzip enabled