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_4536386_21060\Main.java:1: 非法字符: \35
#include <iostream>
^
0_0_4536386_21060\Main.java:2: 非法字符: \35
#include <cstdio>
^
0_0_4536386_21060\Main.java:3: 非法字符: \35
#include <cstring>
^
0_0_4536386_21060\Main.java:4: 非法字符: \35
#include <algorithm>
^
0_0_4536386_21060\Main.java:5: 非法字符: \35
#define LL long long
^
0_0_4536386_21060\Main.java:6: 非法字符: \35
#define N 500010
^
0_0_4536386_21060\Main.java:8: 需要为 class、interface 或 enum
LL d[N], l, n, m;
^
0_0_4536386_21060\Main.java:9: 需要为 class、interface 或 enum
bool okay(LL x)
^
0_0_4536386_21060\Main.java:12: 需要为 class、interface 或 enum
    for (LL i = 1; i < n; ++i)
    ^
0_0_4536386_21060\Main.java:12: 需要为 class、interface 或 enum
    for (LL i = 1; i < n; ++i)
                   ^
0_0_4536386_21060\Main.java:12: 需要为 class、interface 或 enum
    for (LL i = 1; i < n; ++i)
                          ^
0_0_4536386_21060\Main.java:17: 需要为 class、interface 或 enum
            cnt++;
            ^
0_0_4536386_21060\Main.java:18: 需要为 class、interface 或 enum
        }
        ^
0_0_4536386_21060\Main.java:21: 需要为 class、interface 或 enum
}
^
0_0_4536386_21060\Main.java:27: 需要为 class、interface 或 enum
        for (LL i = 1; i <= n; ++i)
        ^
0_0_4536386_21060\Main.java:27: 需要为 class、interface 或 enum
        for (LL i = 1; i <= n; ++i)
                       ^
0_0_4536386_21060\Main.java:27: 需要为 class、interface 或 enum
        for (LL i = 1; i <= n; ++i)
                               ^
0_0_4536386_21060\Main.java:29: 需要为 class、interface 或 enum
        sort(d + 1, d + n + 1);
        ^
0_0_4536386_21060\Main.java:30: 需要为 class、interface 或 enum
        while (d[n] >= l) --n;
        ^
0_0_4536386_21060\Main.java:31: 需要为 class、interface 或 enum
        d[++n] = l;
        ^
0_0_4536386_21060\Main.java:32: 需要为 class、interface 或 enum
        left = d[1];
        ^
0_0_4536386_21060\Main.java:33: 需要为 class、interface 或 enum
        for (LL i = 1; i < n; ++i) left = max(left, d[i + 1] - d[i]);
        ^
0_0_4536386_21060\Main.java:33: 需要为 class、interface 或 enum
        for (LL i = 1; i < n; ++i) left = max(left, d[i + 1] - d[i]);
                       ^
0_0_4536386_21060\Main.java:33: 需要为 class、interface 或 enum
        for (LL i = 1; i < n; ++i) left = max(left, d[i + 1] - d[i]);
                              ^
0_0_4536386_21060\Main.java:35: 需要为 class、interface 或 enum
        okay(11);
        ^
0_0_4536386_21060\Main.java:36: 需要为 class、interface 或 enum
        while (left < right)
        ^
0_0_4536386_21060\Main.java:41: 需要为 class、interface 或 enum
                break;
                ^
0_0_4536386_21060\Main.java:42: 需要为 class、interface 或 enum
            }
            ^
0_0_4536386_21060\Main.java:44: 需要为 class、interface 或 enum
            if (okay(mid)) right = mid;
            ^
0_0_4536386_21060\Main.java:45: 需要为 class、interface 或 enum
            else left = mid + 1;
            ^
0_0_4536386_21060\Main.java:46: 需要为 class、interface 或 enum
        }
        ^
0_0_4536386_21060\Main.java:48: 需要为 class、interface 或 enum
    }
    ^
0_0_4536386_21060\Main.java:50: 需要为 class、interface 或 enum
}
^
33 错误


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.000000(s) query 1, Server time : 2025-01-11 06:00:28, Gzip enabled