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_37138481_6417\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_37138481_6417\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_37138481_6417\Main.java:3: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_37138481_6417\Main.java:4: 错误: 需要class, interface或enum
const ll MAXN=2e5+5;
^
0_0_37138481_6417\Main.java:5: 错误: 需要class, interface或enum
ll n;
^
0_0_37138481_6417\Main.java:6: 错误: 需要class, interface或enum
struct ans
^
0_0_37138481_6417\Main.java:9: 错误: 需要class, interface或enum
}maxn;
^
0_0_37138481_6417\Main.java:10: 错误: 需要class, interface或enum
ll a[MAXN];
^
0_0_37138481_6417\Main.java:11: 错误: 需要class, interface或enum
void divide(ll l,ll r)
^
0_0_37138481_6417\Main.java:20: 错误: 需要class, interface或enum
                maxn.l=l;
                ^
0_0_37138481_6417\Main.java:21: 错误: 需要class, interface或enum
                maxn.r=r;
                ^
0_0_37138481_6417\Main.java:22: 错误: 需要class, interface或enum
            }
            ^
0_0_37138481_6417\Main.java:25: 错误: 需要class, interface或enum
    }
    ^
0_0_37138481_6417\Main.java:27: 错误: 需要class, interface或enum
    ll maxnr=0;
    ^
0_0_37138481_6417\Main.java:28: 错误: 需要class, interface或enum
    ll indexr=mid;
    ^
0_0_37138481_6417\Main.java:29: 错误: 需要class, interface或enum
    ll indexl=mid;
    ^
0_0_37138481_6417\Main.java:30: 错误: 需要class, interface或enum
    ll maxnl=-1;
    ^
0_0_37138481_6417\Main.java:31: 错误: 需要class, interface或enum
    ll sumr=0;
    ^
0_0_37138481_6417\Main.java:32: 错误: 需要class, interface或enum
    ll suml=0;
    ^
0_0_37138481_6417\Main.java:33: 错误: 需要class, interface或enum
    for(ll i=mid+1;i<=n;++i)
    ^
0_0_37138481_6417\Main.java:33: 错误: 需要class, interface或enum
    for(ll i=mid+1;i<=n;++i)
                   ^
0_0_37138481_6417\Main.java:33: 错误: 需要class, interface或enum
    for(ll i=mid+1;i<=n;++i)
                        ^
0_0_37138481_6417\Main.java:36: 错误: 需要class, interface或enum
        if(sumr>maxnr)
        ^
0_0_37138481_6417\Main.java:39: 错误: 需要class, interface或enum
            maxnr=sumr;
            ^
0_0_37138481_6417\Main.java:40: 错误: 需要class, interface或enum
        }
        ^
0_0_37138481_6417\Main.java:42: 错误: 需要class, interface或enum
    for(ll i=mid;i>=1;--i)
                 ^
0_0_37138481_6417\Main.java:42: 错误: 需要class, interface或enum
    for(ll i=mid;i>=1;--i)
                      ^
0_0_37138481_6417\Main.java:45: 错误: 需要class, interface或enum
        if(suml>=maxnl)
        ^
0_0_37138481_6417\Main.java:48: 错误: 需要class, interface或enum
            maxnl=suml;
            ^
0_0_37138481_6417\Main.java:49: 错误: 需要class, interface或enum
        }
        ^
0_0_37138481_6417\Main.java:54: 错误: 需要class, interface或enum
        if(maxn.l>=indexl&&maxn.r>=indexr) {
        ^
0_0_37138481_6417\Main.java:56: 错误: 需要class, interface或enum
            maxn.r = indexr;
            ^
0_0_37138481_6417\Main.java:57: 错误: 需要class, interface或enum
        }
        ^
0_0_37138481_6417\Main.java:60: 错误: 需要class, interface或enum
    divide(mid+1,r);
    ^
0_0_37138481_6417\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_37138481_6417\Main.java:66: 错误: 需要class, interface或enum
        maxn={1000000000,1000000000,-1};
        ^
0_0_37138481_6417\Main.java:67: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; ++i) {
        ^
0_0_37138481_6417\Main.java:67: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; ++i) {
                        ^
0_0_37138481_6417\Main.java:67: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; ++i) {
                                ^
0_0_37138481_6417\Main.java:69: 错误: 需要class, interface或enum
        }
        ^
0_0_37138481_6417\Main.java:71: 错误: 需要class, interface或enum
        if(maxn.ans!=-1)
        ^
0_0_37138481_6417\Main.java:73: 错误: 需要class, interface或enum
        else printf("0 %lld %lld\n",a[1],a[n]);
        ^
0_0_37138481_6417\Main.java:74: 错误: 需要class, interface或enum
    }
    ^
43 个错误


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-26 06:39:04, Gzip enabled