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_14695526_28871\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_14695526_28871\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_14695526_28871\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_14695526_28871\Main.java:3: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_14695526_28871\Main.java:4: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_14695526_28871\Main.java:5: 错误: 非法字符: '#'
#include<map>
^
0_0_14695526_28871\Main.java:7: 错误: 非法字符: '#'
#define dMax  1000010
^
0_0_14695526_28871\Main.java:7: 错误: 需要class, interface或enum
#define dMax  1000010
        ^
0_0_14695526_28871\Main.java:10: 错误: 需要class, interface或enum
bool is_1[dMax];
^
0_0_14695526_28871\Main.java:11: 错误: 需要class, interface或enum
int tot=1;
^
0_0_14695526_28871\Main.java:12: 错误: 需要class, interface或enum
int St[3];
^
0_0_14695526_28871\Main.java:13: 错误: 需要class, interface或enum
struct Triple{
^
0_0_14695526_28871\Main.java:15: 错误: 需要class, interface或enum
    Triple(int _M=0,int _D=0,int _Y=0):M(_M),D(_D),Y(_Y){};
    ^
0_0_14695526_28871\Main.java:16: 错误: 需要class, interface或enum
    bool operator<(const Triple & T)const{
    ^
0_0_14695526_28871\Main.java:18: 错误: 需要class, interface或enum
        if(D!=T.D)  return D<T.D;
        ^
0_0_14695526_28871\Main.java:19: 错误: 需要class, interface或enum
        return Y<T.Y;
        ^
0_0_14695526_28871\Main.java:20: 错误: 需要class, interface或enum
    }
    ^
0_0_14695526_28871\Main.java:23: 错误: 需要class, interface或enum
map<Triple,int>mp;
^
0_0_14695526_28871\Main.java:25: 错误: 需要class, interface或enum
void init()
^
0_0_14695526_28871\Main.java:28: 错误: 需要class, interface或enum
    for(i=1900;i<=3000;i++)
    ^
0_0_14695526_28871\Main.java:28: 错误: 需要class, interface或enum
    for(i=1900;i<=3000;i++)
               ^
0_0_14695526_28871\Main.java:28: 错误: 需要class, interface或enum
    for(i=1900;i<=3000;i++)
                       ^
0_0_14695526_28871\Main.java:29: 错误: 需要class, interface或enum
        for(j=1;j<=12;j++){
                ^
0_0_14695526_28871\Main.java:29: 错误: 需要class, interface或enum
        for(j=1;j<=12;j++){
                      ^
0_0_14695526_28871\Main.java:31: 错误: 需要class, interface或enum
                for(k=1;k<=31;k++){
                        ^
0_0_14695526_28871\Main.java:31: 错误: 需要class, interface或enum
                for(k=1;k<=31;k++){
                              ^
0_0_14695526_28871\Main.java:33: 错误: 需要class, interface或enum
                    Find[tot]=Triple(j,k,i);
                    ^
0_0_14695526_28871\Main.java:34: 错误: 需要class, interface或enum
                    tot++;
                    ^
0_0_14695526_28871\Main.java:35: 错误: 需要class, interface或enum
                }
                ^
0_0_14695526_28871\Main.java:37: 错误: 需要class, interface或enum
                for(k=1;k<=30;k++){
                        ^
0_0_14695526_28871\Main.java:37: 错误: 需要class, interface或enum
                for(k=1;k<=30;k++){
                              ^
0_0_14695526_28871\Main.java:39: 错误: 需要class, interface或enum
                    Find[tot]=Triple(j,k,i);
                    ^
0_0_14695526_28871\Main.java:40: 错误: 需要class, interface或enum
                    tot++;
                    ^
0_0_14695526_28871\Main.java:41: 错误: 需要class, interface或enum
                }
                ^
0_0_14695526_28871\Main.java:44: 错误: 需要class, interface或enum
                    for(k=1;k<=29;k++){
                            ^
0_0_14695526_28871\Main.java:44: 错误: 需要class, interface或enum
                    for(k=1;k<=29;k++){
                                  ^
0_0_14695526_28871\Main.java:46: 错误: 需要class, interface或enum
                        Find[tot]=Triple(j,k,i);
                        ^
0_0_14695526_28871\Main.java:47: 错误: 需要class, interface或enum
                        tot++;
                        ^
0_0_14695526_28871\Main.java:48: 错误: 需要class, interface或enum
                    }
                    ^
0_0_14695526_28871\Main.java:50: 错误: 需要class, interface或enum
                    for(k=1;k<=28;k++){
                            ^
0_0_14695526_28871\Main.java:50: 错误: 需要class, interface或enum
                    for(k=1;k<=28;k++){
                                  ^
0_0_14695526_28871\Main.java:52: 错误: 需要class, interface或enum
                        Find[tot]=Triple(j,k,i);
                        ^
0_0_14695526_28871\Main.java:53: 错误: 需要class, interface或enum
                        tot++;
                        ^
0_0_14695526_28871\Main.java:54: 错误: 需要class, interface或enum
                    }
                    ^
0_0_14695526_28871\Main.java:63: 错误: 需要class, interface或enum
    memset(a,0,sizeof(a));
    ^
0_0_14695526_28871\Main.java:64: 错误: 需要class, interface或enum
    for( i = St[0]; i<St[1]; i++)   a[i]=1;
    ^
0_0_14695526_28871\Main.java:64: 错误: 需要class, interface或enum
    for( i = St[0]; i<St[1]; i++)   a[i]=1;
                    ^
0_0_14695526_28871\Main.java:64: 错误: 需要class, interface或enum
    for( i = St[0]; i<St[1]; i++)   a[i]=1;
                             ^
0_0_14695526_28871\Main.java:65: 错误: 需要class, interface或enum
    for( i = St[1]; i<End; i++)   a[i]=2;
    ^
0_0_14695526_28871\Main.java:65: 错误: 需要class, interface或enum
    for( i = St[1]; i<End; i++)   a[i]=2;
                    ^
0_0_14695526_28871\Main.java:65: 错误: 需要class, interface或enum
    for( i = St[1]; i<End; i++)   a[i]=2;
                           ^
0_0_14695526_28871\Main.java:66: 错误: 需要class, interface或enum
    scanf("%d",&m);
    ^
0_0_14695526_28871\Main.java:67: 错误: 需要class, interface或enum
    while(m--){
    ^
0_0_14695526_28871\Main.java:69: 错误: 需要class, interface或enum
        he = mp[Triple(Mon[0],Dat[0],Yea[0])];
        ^
0_0_14695526_28871\Main.java:70: 错误: 需要class, interface或enum
        ta = mp[Triple(Mon[1],Dat[1],Yea[1])];
        ^
0_0_14695526_28871\Main.java:71: 错误: 需要class, interface或enum
        for(i=he; i<=ta; i++)    a[i] = 0;
        ^
0_0_14695526_28871\Main.java:71: 错误: 需要class, interface或enum
        for(i=he; i<=ta; i++)    a[i] = 0;
                  ^
0_0_14695526_28871\Main.java:71: 错误: 需要class, interface或enum
        for(i=he; i<=ta; i++)    a[i] = 0;
                         ^
0_0_14695526_28871\Main.java:72: 错误: 需要class, interface或enum
    }
    ^
0_0_14695526_28871\Main.java:74: 错误: 需要class, interface或enum
    for(i=St[1]-1460;i<End;i++)    sum[i] = sum[i-1] + a[i];
    ^
0_0_14695526_28871\Main.java:74: 错误: 需要class, interface或enum
    for(i=St[1]-1460;i<End;i++)    sum[i] = sum[i-1] + a[i];
                     ^
0_0_14695526_28871\Main.java:74: 错误: 需要class, interface或enum
    for(i=St[1]-1460;i<End;i++)    sum[i] = sum[i-1] + a[i];
                           ^
0_0_14695526_28871\Main.java:75: 错误: 需要class, interface或enum
    for(i=St[1]-1460;;i++){
    ^
0_0_14695526_28871\Main.java:75: 错误: 需要class, interface或enum
    for(i=St[1]-1460;;i++){
                      ^
0_0_14695526_28871\Main.java:77: 错误: 需要class, interface或enum
    }
    ^
0_0_14695526_28871\Main.java:79: 错误: 需要class, interface或enum
    printf("%d/%d/%d\n",ans.M,ans.D,ans.Y);
    ^
0_0_14695526_28871\Main.java:80: 错误: 需要class, interface或enum
}
^
0_0_14695526_28871\Main.java:88: 错误: 需要class, interface或enum
    while(scanf("%d/%d/%d",Mon,Dat,Yea)!=EOF){
    ^
0_0_14695526_28871\Main.java:90: 错误: 需要class, interface或enum
        St[0] = mp[Triple(Mon[0],Dat[0],Yea[0])];
        ^
0_0_14695526_28871\Main.java:91: 错误: 需要class, interface或enum
        St[1] = mp[Triple(Mon[1],Dat[1],Yea[1])];
        ^
0_0_14695526_28871\Main.java:92: 错误: 需要class, interface或enum
        Deal();
        ^
0_0_14695526_28871\Main.java:93: 错误: 需要class, interface或enum
    }
    ^
0_0_14695526_28871\Main.java:95: 错误: 需要class, interface或enum
}
^
73 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 21:38:42, Gzip enabled