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_6093209_30313\Main.java:1: illegal character: \35
#include<iostream>
^
0_0_6093209_30313\Main.java:2: illegal character: \35
#include<cstring>
^
0_0_6093209_30313\Main.java:3: illegal character: \35
#include<algorithm>
^
0_0_6093209_30313\Main.java:5: class, interface, or enum expected
int a[4500000];
^
0_0_6093209_30313\Main.java:6: class, interface, or enum expected
int b[3005];
^
0_0_6093209_30313\Main.java:7: class, interface, or enum expected
int main()
^
0_0_6093209_30313\Main.java:10: class, interface, or enum expected
    while(cin>>N>>M)
    ^
0_0_6093209_30313\Main.java:13: class, interface, or enum expected
        memset(a,0,sizeof(a));
        ^
0_0_6093209_30313\Main.java:14: class, interface, or enum expected
        memset(b,0,sizeof(b));
        ^
0_0_6093209_30313\Main.java:15: class, interface, or enum expected
        for(int i=0;i<N;i++)
        ^
0_0_6093209_30313\Main.java:15: class, interface, or enum expected
        for(int i=0;i<N;i++)
                    ^
0_0_6093209_30313\Main.java:15: class, interface, or enum expected
        for(int i=0;i<N;i++)
                        ^
0_0_6093209_30313\Main.java:18: class, interface, or enum expected
        }
        ^
0_0_6093209_30313\Main.java:19: class, interface, or enum expected
        for(int i=0;i<N;i++)
                    ^
0_0_6093209_30313\Main.java:19: class, interface, or enum expected
        for(int i=0;i<N;i++)
                        ^
0_0_6093209_30313\Main.java:20: class, interface, or enum expected
        for(int j=i+1;j<N;j++)
                      ^
0_0_6093209_30313\Main.java:20: class, interface, or enum expected
        for(int j=i+1;j<N;j++)
                          ^
0_0_6093209_30313\Main.java:22: class, interface, or enum expected
        sort(a,a+m);
        ^
0_0_6093209_30313\Main.java:23: class, interface, or enum expected
        for(int k=m-1;k>m-M;k--)
        ^
0_0_6093209_30313\Main.java:23: class, interface, or enum expected
        for(int k=m-1;k>m-M;k--)
                      ^
0_0_6093209_30313\Main.java:23: class, interface, or enum expected
        for(int k=m-1;k>m-M;k--)
                            ^
0_0_6093209_30313\Main.java:25: class, interface, or enum expected
        cout<<a[m-M]<<endl;
        ^
0_0_6093209_30313\Main.java:26: class, interface, or enum expected
    }
    ^
0_0_6093209_30313\Main.java:28: class, interface, or enum expected
}
^
24 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-18 08:32:03, Gzip enabled