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_6559028_3530\Main.java:1: illegal character: \35
# include<stdio.h>
^
0_0_6559028_3530\Main.java:2: illegal character: \35
# include<stdlib.h>
^
0_0_6559028_3530\Main.java:4: class, interface, or enum expected
int cmp(const void*a,const void*b)
^
0_0_6559028_3530\Main.java:7: class, interface, or enum expected
    int *d=(int *)b;
    ^
0_0_6559028_3530\Main.java:8: class, interface, or enum expected
    return (*c-*d);
    ^
0_0_6559028_3530\Main.java:9: class, interface, or enum expected
}
^
0_0_6559028_3530\Main.java:13: class, interface, or enum expected
    else      return b;
    ^
0_0_6559028_3530\Main.java:14: class, interface, or enum expected
} 
^
0_0_6559028_3530\Main.java:18: class, interface, or enum expected
    while(scanf("%d%d",&n,&k)!=EOF)
    ^
0_0_6559028_3530\Main.java:21: class, interface, or enum expected
        memset(d,0,sizeof(d));                          
        ^
0_0_6559028_3530\Main.java:22: class, interface, or enum expected
        for(i=0;i<n;i++)
        ^
0_0_6559028_3530\Main.java:22: class, interface, or enum expected
        for(i=0;i<n;i++)
                ^
0_0_6559028_3530\Main.java:22: class, interface, or enum expected
        for(i=0;i<n;i++)
                    ^
0_0_6559028_3530\Main.java:24: class, interface, or enum expected
        qsort(a,n,sizeof(a[0]),cmp);
        ^
0_0_6559028_3530\Main.java:25: class, interface, or enum expected
        for(i=0;i<=n;i++)
        ^
0_0_6559028_3530\Main.java:25: class, interface, or enum expected
        for(i=0;i<=n;i++)
                ^
0_0_6559028_3530\Main.java:25: class, interface, or enum expected
        for(i=0;i<=n;i++)
                     ^
0_0_6559028_3530\Main.java:27: class, interface, or enum expected
        for(i=0;i<=n;i++)
        ^
0_0_6559028_3530\Main.java:27: class, interface, or enum expected
        for(i=0;i<=n;i++)
                ^
0_0_6559028_3530\Main.java:27: class, interface, or enum expected
        for(i=0;i<=n;i++)
                     ^
0_0_6559028_3530\Main.java:28: class, interface, or enum expected
        for(j=1;j<=k;j++)
                ^
0_0_6559028_3530\Main.java:28: class, interface, or enum expected
        for(j=1;j<=k;j++)
                     ^
0_0_6559028_3530\Main.java:30: class, interface, or enum expected
        for(i=1;i<=n;i++)
        ^
0_0_6559028_3530\Main.java:30: class, interface, or enum expected
        for(i=1;i<=n;i++)
                ^
0_0_6559028_3530\Main.java:30: class, interface, or enum expected
        for(i=1;i<=n;i++)
                     ^
0_0_6559028_3530\Main.java:31: class, interface, or enum expected
        for(j=1;2*j<=i;j++)
                ^
0_0_6559028_3530\Main.java:31: class, interface, or enum expected
        for(j=1;2*j<=i;j++)
                       ^
0_0_6559028_3530\Main.java:33: class, interface, or enum expected
        printf("%d\n",d[n][k]);
        ^
0_0_6559028_3530\Main.java:34: class, interface, or enum expected
        }
        ^
0_0_6559028_3530\Main.java:36: class, interface, or enum expected
        }
        ^
30 errors


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-27 05:37:08, Gzip enabled