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_35579933_19002\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_35579933_19002\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_35579933_19002\Main.java:2: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_35579933_19002\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_35579933_19002\Main.java:4: 错误: 非法字符: '#'
#include<cmath>
^
0_0_35579933_19002\Main.java:7: 错误: 非法字符: '#'
#define maxt(a,b) (a>b?a:b)
^
0_0_35579933_19002\Main.java:7: 错误: 需要class, interface或enum
#define maxt(a,b) (a>b?a:b)
        ^
0_0_35579933_19002\Main.java:11: 错误: 需要class, interface或enum
int b[100001];
^
0_0_35579933_19002\Main.java:13: 错误: 需要class, interface或enum
bool cmp(int x,int y)
^
0_0_35579933_19002\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_35579933_19002\Main.java:21: 错误: 需要class, interface或enum
    while(~scanf("%d %d",&n,&t))
    ^
0_0_35579933_19002\Main.java:24: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
        ^
0_0_35579933_19002\Main.java:24: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
                ^
0_0_35579933_19002\Main.java:24: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
                    ^
0_0_35579933_19002\Main.java:27: 错误: 需要class, interface或enum
        }
        ^
0_0_35579933_19002\Main.java:29: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
        ^
0_0_35579933_19002\Main.java:29: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
                ^
0_0_35579933_19002\Main.java:29: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
                    ^
0_0_35579933_19002\Main.java:32: 错误: 需要class, interface或enum
        }
        ^
0_0_35579933_19002\Main.java:34: 错误: 需要class, interface或enum
        for(j=0;i<n;j++,i++)
        ^
0_0_35579933_19002\Main.java:34: 错误: 需要class, interface或enum
        for(j=0;i<n;j++,i++)
                ^
0_0_35579933_19002\Main.java:34: 错误: 需要class, interface或enum
        for(j=0;i<n;j++,i++)
                    ^
0_0_35579933_19002\Main.java:37: 错误: 需要class, interface或enum
        }
        ^
0_0_35579933_19002\Main.java:39: 错误: 需要class, interface或enum
        s1=ji;
        ^
0_0_35579933_19002\Main.java:40: 错误: 需要class, interface或enum
        s2=n-ji;
        ^
0_0_35579933_19002\Main.java:41: 错误: 需要class, interface或enum
        for(i=0;i<s1;i++)
        ^
0_0_35579933_19002\Main.java:41: 错误: 需要class, interface或enum
        for(i=0;i<s1;i++)
                ^
0_0_35579933_19002\Main.java:41: 错误: 需要class, interface或enum
        for(i=0;i<s1;i++)
                     ^
0_0_35579933_19002\Main.java:44: 错误: 需要class, interface或enum
            else break;
            ^
0_0_35579933_19002\Main.java:45: 错误: 需要class, interface或enum
        }
        ^
0_0_35579933_19002\Main.java:46: 错误: 需要class, interface或enum
        for(i=0;i<s2;i++)
                ^
0_0_35579933_19002\Main.java:46: 错误: 需要class, interface或enum
        for(i=0;i<s2;i++)
                     ^
0_0_35579933_19002\Main.java:49: 错误: 需要class, interface或enum
            else break;
            ^
0_0_35579933_19002\Main.java:50: 错误: 需要class, interface或enum
        }
        ^
0_0_35579933_19002\Main.java:52: 错误: 需要class, interface或enum
        ji=0;
        ^
0_0_35579933_19002\Main.java:53: 错误: 需要class, interface或enum
        for(i=0;i<=t/2;i++)
        ^
0_0_35579933_19002\Main.java:53: 错误: 需要class, interface或enum
        for(i=0;i<=t/2;i++)
                ^
0_0_35579933_19002\Main.java:53: 错误: 需要class, interface或enum
        for(i=0;i<=t/2;i++)
                       ^
0_0_35579933_19002\Main.java:56: 错误: 需要class, interface或enum
            for(j=0;j<=s1;j++)
            ^
0_0_35579933_19002\Main.java:56: 错误: 需要class, interface或enum
            for(j=0;j<=s1;j++)
                    ^
0_0_35579933_19002\Main.java:56: 错误: 需要class, interface或enum
            for(j=0;j<=s1;j++)
                          ^
0_0_35579933_19002\Main.java:59: 错误: 需要class, interface或enum
                else break;
                ^
0_0_35579933_19002\Main.java:60: 错误: 需要class, interface或enum
            }
            ^
0_0_35579933_19002\Main.java:61: 错误: 需要class, interface或enum
            for(j=0;j<s2;j++)
                    ^
0_0_35579933_19002\Main.java:61: 错误: 需要class, interface或enum
            for(j=0;j<s2;j++)
                         ^
0_0_35579933_19002\Main.java:64: 错误: 需要class, interface或enum
                else break;
                ^
0_0_35579933_19002\Main.java:65: 错误: 需要class, interface或enum
            }
            ^
0_0_35579933_19002\Main.java:67: 错误: 需要class, interface或enum
        }
        ^
0_0_35579933_19002\Main.java:69: 错误: 需要class, interface或enum
        max=0;
        ^
0_0_35579933_19002\Main.java:70: 错误: 需要class, interface或enum
        ji=0;
        ^
0_0_35579933_19002\Main.java:71: 错误: 需要class, interface或enum
        for(i=0;i<=t/2;i++)
        ^
0_0_35579933_19002\Main.java:71: 错误: 需要class, interface或enum
        for(i=0;i<=t/2;i++)
                ^
0_0_35579933_19002\Main.java:71: 错误: 需要class, interface或enum
        for(i=0;i<=t/2;i++)
                       ^
0_0_35579933_19002\Main.java:74: 错误: 需要class, interface或enum
            for(j=0;j<=s2;j++)
            ^
0_0_35579933_19002\Main.java:74: 错误: 需要class, interface或enum
            for(j=0;j<=s2;j++)
                    ^
0_0_35579933_19002\Main.java:74: 错误: 需要class, interface或enum
            for(j=0;j<=s2;j++)
                          ^
0_0_35579933_19002\Main.java:77: 错误: 需要class, interface或enum
                else break;
                ^
0_0_35579933_19002\Main.java:78: 错误: 需要class, interface或enum
            }
            ^
0_0_35579933_19002\Main.java:79: 错误: 需要class, interface或enum
            for(j=0;j<s1;j++)
                    ^
0_0_35579933_19002\Main.java:79: 错误: 需要class, interface或enum
            for(j=0;j<s1;j++)
                         ^
0_0_35579933_19002\Main.java:82: 错误: 需要class, interface或enum
                else break;
                ^
0_0_35579933_19002\Main.java:83: 错误: 需要class, interface或enum
            }
            ^
0_0_35579933_19002\Main.java:85: 错误: 需要class, interface或enum
        }
        ^
0_0_35579933_19002\Main.java:87: 错误: 需要class, interface或enum
        printf("%d\n",maxt(maxt(sum1,sum2),maxt(sum3,sum4)));
        ^
0_0_35579933_19002\Main.java:88: 错误: 需要class, interface或enum
    }
    ^
0_0_35579933_19002\Main.java:90: 错误: 需要class, interface或enum
}
^
66 个错误


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-29 21:46:29, Gzip enabled