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_36831433_31705\Main.java:2: 错误: 非法字符: '#'
#include <iostream>
^
0_0_36831433_31705\Main.java:2: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_36831433_31705\Main.java:3: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_36831433_31705\Main.java:4: 错误: 非法字符: '#'
#include <cmath>
^
0_0_36831433_31705\Main.java:5: 错误: 非法字符: '#'
#include <queue>
^
0_0_36831433_31705\Main.java:6: 错误: 非法字符: '#'
#include <cstring>
^
0_0_36831433_31705\Main.java:7: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_36831433_31705\Main.java:10: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_36831433_31705\Main.java:11: 错误: 需要class, interface或enum
const int maxn = 100+10;
^
0_0_36831433_31705\Main.java:12: 错误: 需要class, interface或enum
double mp[maxn];
^
0_0_36831433_31705\Main.java:13: 错误: 需要class, interface或enum
int ans[maxn];
^
0_0_36831433_31705\Main.java:14: 错误: 需要class, interface或enum
int n, m, k;
^
0_0_36831433_31705\Main.java:16: 错误: 需要class, interface或enum
struct node
^
0_0_36831433_31705\Main.java:19: 错误: 需要class, interface或enum
    int num;
    ^
0_0_36831433_31705\Main.java:20: 错误: 需要class, interface或enum
}p[maxn];
^
0_0_36831433_31705\Main.java:22: 错误: 需要class, interface或enum
int cmp(const node a, const node b)
^
0_0_36831433_31705\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_36831433_31705\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_36831433_31705\Main.java:37: 错误: 需要class, interface或enum
        memset(ans,0,sizeof(ans));
        ^
0_0_36831433_31705\Main.java:38: 错误: 需要class, interface或enum
        for( int i=0; i<m; i++ )
        ^
0_0_36831433_31705\Main.java:38: 错误: 需要class, interface或enum
        for( int i=0; i<m; i++ )
                      ^
0_0_36831433_31705\Main.java:38: 错误: 需要class, interface或enum
        for( int i=0; i<m; i++ )
                           ^
0_0_36831433_31705\Main.java:40: 错误: 需要class, interface或enum
        for( int i=0; i<n; i++ )
        ^
0_0_36831433_31705\Main.java:40: 错误: 需要class, interface或enum
        for( int i=0; i<n; i++ )
                      ^
0_0_36831433_31705\Main.java:40: 错误: 需要class, interface或enum
        for( int i=0; i<n; i++ )
                           ^
0_0_36831433_31705\Main.java:42: 错误: 需要class, interface或enum
            for(int j=0; j<m; j++ )
                         ^
0_0_36831433_31705\Main.java:42: 错误: 需要class, interface或enum
            for(int j=0; j<m; j++ )
                              ^
0_0_36831433_31705\Main.java:45: 错误: 需要class, interface或enum
                scanf("%lf",&u);
                ^
0_0_36831433_31705\Main.java:46: 错误: 需要class, interface或enum
                p[j].val += u;             
                ^
0_0_36831433_31705\Main.java:47: 错误: 需要class, interface或enum
                p[j].num = j+1;          
                ^
0_0_36831433_31705\Main.java:48: 错误: 需要class, interface或enum
            }
            ^
0_0_36831433_31705\Main.java:52: 错误: 需要class, interface或enum
        for( int i=0; i<k; i++ )
        ^
0_0_36831433_31705\Main.java:52: 错误: 需要class, interface或enum
        for( int i=0; i<k; i++ )
                      ^
0_0_36831433_31705\Main.java:52: 错误: 需要class, interface或enum
        for( int i=0; i<k; i++ )
                           ^
0_0_36831433_31705\Main.java:54: 错误: 需要class, interface或enum
        sort(ans,ans+m,cmp2);            
        ^
0_0_36831433_31705\Main.java:55: 错误: 需要class, interface或enum
        int i;
        ^
0_0_36831433_31705\Main.java:56: 错误: 需要class, interface或enum
        for( i=0; i<k-1; i++ )
        ^
0_0_36831433_31705\Main.java:56: 错误: 需要class, interface或enum
        for( i=0; i<k-1; i++ )
                  ^
0_0_36831433_31705\Main.java:56: 错误: 需要class, interface或enum
        for( i=0; i<k-1; i++ )
                         ^
0_0_36831433_31705\Main.java:58: 错误: 需要class, interface或enum
        printf("%d\n",ans[i]);
        ^
40 个错误


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-12-05 10:09:44, Gzip enabled