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_16194443_29535\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_16194443_29535\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_16194443_29535\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_16194443_29535\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_16194443_29535\Main.java:4: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_16194443_29535\Main.java:7: 错误: 需要class, interface或enum
int x,y;
^
0_0_16194443_29535\Main.java:9: 错误: 需要class, interface或enum
int d[12]={31,28,31,30,31,30,31,31,30,31,30,31};
^
0_0_16194443_29535\Main.java:11: 错误: 需要class, interface或enum
int judge(char a[]){
^
0_0_16194443_29535\Main.java:13: 错误: 需要class, interface或enum
    if(a[6]==a[7]&&a[7]==a[8]&&a[8]==a[9]&&a[9]==a[10])
    ^
0_0_16194443_29535\Main.java:15: 错误: 需要class, interface或enum
    if(a[7]==a[6]+1&&a[8]==a[7]+1&&a[9]==a[8]+1&&a[10]==a[9]+1)
    ^
0_0_16194443_29535\Main.java:17: 错误: 需要class, interface或enum
    if(a[7]==a[6]-1&&a[8]==a[7]-1&&a[9]==a[8]-1&&a[10]==a[9]-1)
    ^
0_0_16194443_29535\Main.java:19: 错误: 需要class, interface或enum
        for(int i=0;i<=10;i++){
        ^
0_0_16194443_29535\Main.java:19: 错误: 需要class, interface或enum
        for(int i=0;i<=10;i++){
                    ^
0_0_16194443_29535\Main.java:19: 错误: 需要class, interface或enum
        for(int i=0;i<=10;i++){
                          ^
0_0_16194443_29535\Main.java:21: 错误: 需要class, interface或enum
        }
        ^
0_0_16194443_29535\Main.java:23: 错误: 需要class, interface或enum
    int months=a[7]*10+a[8];
    ^
0_0_16194443_29535\Main.java:24: 错误: 需要class, interface或enum
    int days=a[9]*10+a[10];
    ^
0_0_16194443_29535\Main.java:25: 错误: 需要class, interface或enum
    if(year>=1980&&year<=2016){
    ^
0_0_16194443_29535\Main.java:30: 错误: 需要class, interface或enum
            }
            ^
0_0_16194443_29535\Main.java:36: 错误: 需要class, interface或enum
                }else{
                ^
0_0_16194443_29535\Main.java:39: 错误: 需要class, interface或enum
                }
                ^
0_0_16194443_29535\Main.java:44: 错误: 需要class, interface或enum
    else return y;
    ^
0_0_16194443_29535\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_16194443_29535\Main.java:48: 错误: 需要class, interface或enum
char str[15];
^
0_0_16194443_29535\Main.java:50: 错误: 需要class, interface或enum
int main(int argc, const char * argv[]) {
^
0_0_16194443_29535\Main.java:52: 错误: 需要class, interface或enum
    cin>>T;
    ^
0_0_16194443_29535\Main.java:53: 错误: 需要class, interface或enum
    while(T--){
    ^
0_0_16194443_29535\Main.java:55: 错误: 需要class, interface或enum
        scanf("%d",&n);
        ^
0_0_16194443_29535\Main.java:56: 错误: 需要class, interface或enum
        scanf("%d%d",&x,&y);
        ^
0_0_16194443_29535\Main.java:57: 错误: 需要class, interface或enum
        long long ans=0;
        ^
0_0_16194443_29535\Main.java:58: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
        ^
0_0_16194443_29535\Main.java:58: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
                    ^
0_0_16194443_29535\Main.java:58: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
                         ^
0_0_16194443_29535\Main.java:60: 错误: 需要class, interface或enum
            ans+=(long long)judge(str);
            ^
0_0_16194443_29535\Main.java:61: 错误: 需要class, interface或enum
        }
        ^
0_0_16194443_29535\Main.java:63: 错误: 需要class, interface或enum
    }
    ^
0_0_16194443_29535\Main.java:65: 错误: 需要class, interface或enum
}
^
37 个错误


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 21:57:37, Gzip enabled