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_36180872_20003\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_36180872_20003\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_36180872_20003\Main.java:6: 错误: 非法的类型开始
public:
      ^
0_0_36180872_20003\Main.java:6: 错误: 需要';'
public:
       ^
0_0_36180872_20003\Main.java:7: 错误: 需要<标识符>
    int solved;
              ^
0_0_36180872_20003\Main.java:13: 错误: 需要class, interface或enum
bool cmp(const Student &a, const Student &b){
^
0_0_36180872_20003\Main.java:16: 错误: 需要class, interface或enum
    else
    ^
0_0_36180872_20003\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_36180872_20003\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_36180872_20003\Main.java:25: 错误: 需要class, interface或enum
int scores[] = {50, 60, 70, 80, 90, 100};
^
0_0_36180872_20003\Main.java:26: 错误: 需要class, interface或enum
int counts[] = {0, 0, 0, 0, 0, 0};
^
0_0_36180872_20003\Main.java:27: 错误: 需要class, interface或enum
int start[6] = {-1};
^
0_0_36180872_20003\Main.java:28: 错误: 需要class, interface或enum
bool has95 = false;
^
0_0_36180872_20003\Main.java:29: 错误: 需要class, interface或enum
int halfRank[] = {0, 0, 0, 0, 0, 0};
^
0_0_36180872_20003\Main.java:31: 错误: 需要class, interface或enum
int main(){
^
0_0_36180872_20003\Main.java:34: 错误: 需要class, interface或enum
        cin >> n;
        ^
0_0_36180872_20003\Main.java:35: 错误: 需要class, interface或enum
        if(n==-1)   return 0;
        ^
0_0_36180872_20003\Main.java:36: 错误: 需要class, interface或enum
        vector<Student> students(n+1);
        ^
0_0_36180872_20003\Main.java:37: 错误: 需要class, interface或enum
        memset(times, 0, sizeof(times));
        ^
0_0_36180872_20003\Main.java:38: 错误: 需要class, interface或enum
        memset(counts, 0, sizeof(counts));
        ^
0_0_36180872_20003\Main.java:39: 错误: 需要class, interface或enum
        memset(start, -1, sizeof(start));
        ^
0_0_36180872_20003\Main.java:40: 错误: 需要class, interface或enum
        has95 = false;
        ^
0_0_36180872_20003\Main.java:41: 错误: 需要class, interface或enum
        for(int i=1; i<=n; ++i){
        ^
0_0_36180872_20003\Main.java:41: 错误: 需要class, interface或enum
        for(int i=1; i<=n; ++i){
                     ^
0_0_36180872_20003\Main.java:41: 错误: 需要class, interface或enum
        for(int i=1; i<=n; ++i){
                           ^
0_0_36180872_20003\Main.java:43: 错误: 需要class, interface或enum
            cin >> students[i].time;
            ^
0_0_36180872_20003\Main.java:44: 错误: 需要class, interface或enum
            students[i].index = i;
            ^
0_0_36180872_20003\Main.java:45: 错误: 需要class, interface或enum
        }
        ^
0_0_36180872_20003\Main.java:47: 错误: 需要class, interface或enum
        for(int i=0; i<=5; ++i){
        ^
0_0_36180872_20003\Main.java:47: 错误: 需要class, interface或enum
        for(int i=0; i<=5; ++i){
                     ^
0_0_36180872_20003\Main.java:47: 错误: 需要class, interface或enum
        for(int i=0; i<=5; ++i){
                           ^
0_0_36180872_20003\Main.java:48: 错误: 需要class, interface或enum
            for(size_t j=1; j<=n; ++j){
                            ^
0_0_36180872_20003\Main.java:48: 错误: 需要class, interface或enum
            for(size_t j=1; j<=n; ++j){
                                  ^
0_0_36180872_20003\Main.java:51: 错误: 需要class, interface或enum
                }
                ^
0_0_36180872_20003\Main.java:54: 错误: 需要class, interface或enum
            }
            ^
0_0_36180872_20003\Main.java:56: 错误: 需要class, interface或enum
        for(int i=0; i<=5; ++i){
                     ^
0_0_36180872_20003\Main.java:56: 错误: 需要class, interface或enum
        for(int i=0; i<=5; ++i){
                           ^
0_0_36180872_20003\Main.java:58: 错误: 需要class, interface或enum
        }
        ^
0_0_36180872_20003\Main.java:59: 错误: 需要class, interface或enum
        for(int i=1; i<=n; ++i){
                     ^
0_0_36180872_20003\Main.java:59: 错误: 需要class, interface或enum
        for(int i=1; i<=n; ++i){
                           ^
0_0_36180872_20003\Main.java:62: 错误: 需要class, interface或enum
            }
            ^
0_0_36180872_20003\Main.java:65: 错误: 需要class, interface或enum
            }
            ^
0_0_36180872_20003\Main.java:69: 错误: 需要class, interface或enum
                }
                ^
0_0_36180872_20003\Main.java:72: 错误: 需要class, interface或enum
                }
                ^
0_0_36180872_20003\Main.java:75: 错误: 需要class, interface或enum
        }
        ^
0_0_36180872_20003\Main.java:77: 错误: 需要class, interface或enum
        for(int i=1; i<=n; ++i){
        ^
0_0_36180872_20003\Main.java:77: 错误: 需要class, interface或enum
        for(int i=1; i<=n; ++i){
                     ^
0_0_36180872_20003\Main.java:77: 错误: 需要class, interface或enum
        for(int i=1; i<=n; ++i){
                           ^
0_0_36180872_20003\Main.java:79: 错误: 需要class, interface或enum
        }
        ^
0_0_36180872_20003\Main.java:81: 错误: 需要class, interface或enum
    }
    ^
0_0_36180872_20003\Main.java:83: 错误: 需要class, interface或enum
}
^
51 个错误


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-30 02:58:07, Gzip enabled