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_13727406_23877\Main.java:1: 错误: 非法字符: '#'
#include<iostream>  
^
0_0_13727406_23877\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>  
        ^
0_0_13727406_23877\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>  
^
0_0_13727406_23877\Main.java:3: 错误: 非法字符: '#'
#include<iomanip>  
^
0_0_13727406_23877\Main.java:5: 错误: 需要class, interface或enum
typedef struct Node  
^
0_0_13727406_23877\Main.java:8: 错误: 需要class, interface或enum
    int h;  
    ^
0_0_13727406_23877\Main.java:9: 错误: 需要class, interface或enum
}data;  
^
0_0_13727406_23877\Main.java:10: 错误: 需要class, interface或enum
int Comp(const void *p1,const void *p2)  
^
0_0_13727406_23877\Main.java:13: 错误: 需要class, interface或enum
}  
^
0_0_13727406_23877\Main.java:18: 错误: 需要class, interface或enum
    data rice[1000];  
    ^
0_0_13727406_23877\Main.java:19: 错误: 需要class, interface或enum
    cin>>c;  
    ^
0_0_13727406_23877\Main.java:20: 错误: 需要class, interface或enum
    while(c)  
    ^
0_0_13727406_23877\Main.java:23: 错误: 需要class, interface或enum
        int n,m;  
        ^
0_0_13727406_23877\Main.java:24: 错误: 需要class, interface或enum
        cin>>n>>m;  
        ^
0_0_13727406_23877\Main.java:25: 错误: 需要class, interface或enum
        for(int i=0;i<m;i++)  
        ^
0_0_13727406_23877\Main.java:25: 错误: 需要class, interface或enum
        for(int i=0;i<m;i++)  
                    ^
0_0_13727406_23877\Main.java:25: 错误: 需要class, interface或enum
        for(int i=0;i<m;i++)  
                        ^
0_0_13727406_23877\Main.java:27: 错误: 需要class, interface或enum
        qsort(rice,m,sizeof(data),Comp);  
        ^
0_0_13727406_23877\Main.java:30: 错误: 需要class, interface或enum
        for(i=0;i<m;i++)  
        ^
0_0_13727406_23877\Main.java:30: 错误: 需要class, interface或enum
        for(i=0;i<m;i++)  
                ^
0_0_13727406_23877\Main.java:30: 错误: 需要class, interface或enum
        for(i=0;i<m;i++)  
                    ^
0_0_13727406_23877\Main.java:35: 错误: 需要class, interface或enum
                break;  
                ^
0_0_13727406_23877\Main.java:36: 错误: 需要class, interface或enum
            }  
            ^
0_0_13727406_23877\Main.java:40: 错误: 需要class, interface或enum
                n=n-rice[i].h*rice[i].p;  
                ^
0_0_13727406_23877\Main.java:41: 错误: 需要class, interface或enum
            }  
            ^
0_0_13727406_23877\Main.java:44: 错误: 需要class, interface或enum
        c--;  
        ^
0_0_13727406_23877\Main.java:45: 错误: 需要class, interface或enum
    }  
    ^
0_0_13727406_23877\Main.java:47: 错误: 需要class, interface或enum
}      
^
28 个错误


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-02 20:51:01, Gzip enabled