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_10202020_2650\Main.java:1: 非法字符: \35
#include <cstdio>
^
0_0_10202020_2650\Main.java:2: 非法字符: \35
#include <algorithm>
^
0_0_10202020_2650\Main.java:4: 需要为 class、interface 或 enum
const int N = 100010;
^
0_0_10202020_2650\Main.java:5: 需要为 class、interface 或 enum
const int INF = 0x3fffffff;
^
0_0_10202020_2650\Main.java:6: 需要为 class、interface 或 enum
int dp[N], x[N],q[N];
^
0_0_10202020_2650\Main.java:8: 需要为 class、interface 或 enum
int main()
^
0_0_10202020_2650\Main.java:11: 需要为 class、interface 或 enum
    scanf("%d", &t);
    ^
0_0_10202020_2650\Main.java:12: 需要为 class、interface 或 enum
    while (t--)
    ^
0_0_10202020_2650\Main.java:15: 需要为 class、interface 或 enum
        scanf("%d", &n);
        ^
0_0_10202020_2650\Main.java:16: 需要为 class、interface 或 enum
        for (int i = 1; i <= n; i++)
        ^
0_0_10202020_2650\Main.java:16: 需要为 class、interface 或 enum
        for (int i = 1; i <= n; i++)
                        ^
0_0_10202020_2650\Main.java:16: 需要为 class、interface 或 enum
        for (int i = 1; i <= n; i++)
                                ^
0_0_10202020_2650\Main.java:19: 需要为 class、interface 或 enum
            x[i] += i;
            ^
0_0_10202020_2650\Main.java:20: 需要为 class、interface 或 enum
        }
        ^
0_0_10202020_2650\Main.java:22: 需要为 class、interface 或 enum
        dp[1] = 0;
        ^
0_0_10202020_2650\Main.java:23: 需要为 class、interface 或 enum
        int head = 0,tail = 0;
        ^
0_0_10202020_2650\Main.java:24: 需要为 class、interface 或 enum
        q[tail++] = 1;
        ^
0_0_10202020_2650\Main.java:25: 需要为 class、interface 或 enum
        for (int i = 2; i <= n; i++)
        ^
0_0_10202020_2650\Main.java:25: 需要为 class、interface 或 enum
        for (int i = 2; i <= n; i++)
                        ^
0_0_10202020_2650\Main.java:25: 需要为 class、interface 或 enum
        for (int i = 2; i <= n; i++)
                                ^
0_0_10202020_2650\Main.java:29: 需要为 class、interface 或 enum
            if (head == tail)
            ^
0_0_10202020_2650\Main.java:31: 需要为 class、interface 或 enum
            dp[i] = dp[q[head]] + 1;
            ^
0_0_10202020_2650\Main.java:32: 需要为 class、interface 或 enum
            while (head < tail && dp[q[tail-1]]> dp[i])
            ^
0_0_10202020_2650\Main.java:34: 需要为 class、interface 或 enum
            q[tail++] = i;
            ^
0_0_10202020_2650\Main.java:35: 需要为 class、interface 或 enum
        }
        ^
0_0_10202020_2650\Main.java:37: 需要为 class、interface 或 enum
    }
    ^
0_0_10202020_2650\Main.java:39: 需要为 class、interface 或 enum
}
^
27 错误


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-23 05:52:08, Gzip enabled