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_32380766_3373\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_32380766_3373\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_32380766_3373\Main.java:3: 错误: 非法字符: '#'
#define ll long long
^
0_0_32380766_3373\Main.java:3: 错误: 需要class, interface或enum
#define ll long long
        ^
0_0_32380766_3373\Main.java:7: 错误: 需要class, interface或enum
int a[N];
^
0_0_32380766_3373\Main.java:9: 错误: 需要class, interface或enum
ll ans[N];
^
0_0_32380766_3373\Main.java:11: 错误: 需要class, interface或enum
struct node{
^
0_0_32380766_3373\Main.java:13: 错误: 需要class, interface或enum
}s[N];
^
0_0_32380766_3373\Main.java:15: 错误: 需要class, interface或enum
set<pair<int,int> > re;
^
0_0_32380766_3373\Main.java:17: 错误: 需要class, interface或enum
int r[N],l[N];
^
0_0_32380766_3373\Main.java:19: 错误: 需要class, interface或enum
int main()
^
0_0_32380766_3373\Main.java:22: 错误: 需要class, interface或enum
    scanf("%d",&p);
    ^
0_0_32380766_3373\Main.java:23: 错误: 需要class, interface或enum
    while (p--)
    ^
0_0_32380766_3373\Main.java:26: 错误: 需要class, interface或enum
        int n;
        ^
0_0_32380766_3373\Main.java:27: 错误: 需要class, interface或enum
        scanf("%d",&n);
        ^
0_0_32380766_3373\Main.java:28: 错误: 需要class, interface或enum
        for (int i = 1;i<=n;i++) scanf("%d",&a[i]);
        ^
0_0_32380766_3373\Main.java:28: 错误: 需要class, interface或enum
        for (int i = 1;i<=n;i++) scanf("%d",&a[i]);
                       ^
0_0_32380766_3373\Main.java:28: 错误: 需要class, interface或enum
        for (int i = 1;i<=n;i++) scanf("%d",&a[i]);
                            ^
0_0_32380766_3373\Main.java:29: 错误: 需要class, interface或enum
        int len = 0;
        ^
0_0_32380766_3373\Main.java:30: 错误: 需要class, interface或enum
        for (int i = 1;i<=n;i++)
        ^
0_0_32380766_3373\Main.java:30: 错误: 需要class, interface或enum
        for (int i = 1;i<=n;i++)
                       ^
0_0_32380766_3373\Main.java:30: 错误: 需要class, interface或enum
        for (int i = 1;i<=n;i++)
                            ^
0_0_32380766_3373\Main.java:33: 错误: 需要class, interface或enum
            s[++len].h = a[i];
            ^
0_0_32380766_3373\Main.java:34: 错误: 需要class, interface或enum
            s[len].index = i;
            ^
0_0_32380766_3373\Main.java:35: 错误: 需要class, interface或enum
        }
        ^
0_0_32380766_3373\Main.java:37: 错误: 需要class, interface或enum
        len = 0;
        ^
0_0_32380766_3373\Main.java:38: 错误: 需要class, interface或enum
        for (int i = n;i>=1;i--)
        ^
0_0_32380766_3373\Main.java:38: 错误: 需要class, interface或enum
        for (int i = n;i>=1;i--)
                       ^
0_0_32380766_3373\Main.java:38: 错误: 需要class, interface或enum
        for (int i = n;i>=1;i--)
                            ^
0_0_32380766_3373\Main.java:41: 错误: 需要class, interface或enum
            s[++len].h = a[i];
            ^
0_0_32380766_3373\Main.java:42: 错误: 需要class, interface或enum
            s[len].index = i;
            ^
0_0_32380766_3373\Main.java:43: 错误: 需要class, interface或enum
        }
        ^
0_0_32380766_3373\Main.java:50: 错误: 需要class, interface或enum
        re.clear();
        ^
0_0_32380766_3373\Main.java:51: 错误: 需要class, interface或enum
        for (int i = 1;i<=n;i++)
        ^
0_0_32380766_3373\Main.java:51: 错误: 需要class, interface或enum
        for (int i = 1;i<=n;i++)
                       ^
0_0_32380766_3373\Main.java:51: 错误: 需要class, interface或enum
        for (int i = 1;i<=n;i++)
                            ^
0_0_32380766_3373\Main.java:54: 错误: 需要class, interface或enum
            else re.insert(make_pair(l[i],r[i]));
            ^
0_0_32380766_3373\Main.java:55: 错误: 需要class, interface或enum
            vector<ll> c;
            ^
0_0_32380766_3373\Main.java:56: 错误: 需要class, interface或enum
            int last = l[i],num = 0;
            ^
0_0_32380766_3373\Main.java:57: 错误: 需要class, interface或enum
            for (int j = l[i];j<=r[i];j++)
            ^
0_0_32380766_3373\Main.java:57: 错误: 需要class, interface或enum
            for (int j = l[i];j<=r[i];j++)
                              ^
0_0_32380766_3373\Main.java:57: 错误: 需要class, interface或enum
            for (int j = l[i];j<=r[i];j++)
                                      ^
0_0_32380766_3373\Main.java:62: 错误: 需要class, interface或enum
                    last = j+1;
                    ^
0_0_32380766_3373\Main.java:63: 错误: 需要class, interface或enum
                    num++;
                    ^
0_0_32380766_3373\Main.java:64: 错误: 需要class, interface或enum
                }
                ^
0_0_32380766_3373\Main.java:67: 错误: 需要class, interface或enum
            for (int j = 1;j<=num;j++)
            ^
0_0_32380766_3373\Main.java:67: 错误: 需要class, interface或enum
            for (int j = 1;j<=num;j++)
                           ^
0_0_32380766_3373\Main.java:67: 错误: 需要class, interface或enum
            for (int j = 1;j<=num;j++)
                                  ^
0_0_32380766_3373\Main.java:69: 错误: 需要class, interface或enum
                for (int k = 0;k<=num - j;k++)
                               ^
0_0_32380766_3373\Main.java:69: 错误: 需要class, interface或enum
                for (int k = 0;k<=num - j;k++)
                                          ^
0_0_32380766_3373\Main.java:72: 错误: 需要class, interface或enum
                }
                ^
0_0_32380766_3373\Main.java:76: 错误: 需要class, interface或enum
        for (int i = 1;i<=n;i++) res += ans[i] ^ i;
        ^
0_0_32380766_3373\Main.java:76: 错误: 需要class, interface或enum
        for (int i = 1;i<=n;i++) res += ans[i] ^ i;
                       ^
0_0_32380766_3373\Main.java:76: 错误: 需要class, interface或enum
        for (int i = 1;i<=n;i++) res += ans[i] ^ i;
                            ^
0_0_32380766_3373\Main.java:77: 错误: 需要class, interface或enum
        printf("%lld\n",res);
        ^
0_0_32380766_3373\Main.java:78: 错误: 需要class, interface或enum
    }
    ^
0_0_32380766_3373\Main.java:80: 错误: 需要class, interface或enum
}
^
57 个错误


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 04:35:28, Gzip enabled