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_33870418_26754\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_33870418_26754\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_33870418_26754\Main.java:2: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_33870418_26754\Main.java:3: 错误: 非法字符: '#'
#include <memory.h>
^
0_0_33870418_26754\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_33870418_26754\Main.java:7: 错误: 需要class, interface或enum
const int maxn=10005;
^
0_0_33870418_26754\Main.java:8: 错误: 需要class, interface或enum
int V;
^
0_0_33870418_26754\Main.java:9: 错误: 需要class, interface或enum
struct node
^
0_0_33870418_26754\Main.java:12: 错误: 需要class, interface或enum
}coin[3];
^
0_0_33870418_26754\Main.java:13: 错误: 需要class, interface或enum
int dp[maxn];
^
0_0_33870418_26754\Main.java:15: 错误: 需要class, interface或enum
void ZeroOnePack(int C,int W)
^
0_0_33870418_26754\Main.java:17: 错误: 需要class, interface或enum
    for(int v=V;v>=C;v--){
                ^
0_0_33870418_26754\Main.java:17: 错误: 需要class, interface或enum
    for(int v=V;v>=C;v--){
                     ^
0_0_33870418_26754\Main.java:19: 错误: 需要class, interface或enum
    }
    ^
0_0_33870418_26754\Main.java:24: 错误: 需要class, interface或enum
    for(int v=C;v<=V;v++){
                ^
0_0_33870418_26754\Main.java:24: 错误: 需要class, interface或enum
    for(int v=C;v<=V;v++){
                     ^
0_0_33870418_26754\Main.java:26: 错误: 需要class, interface或enum
    }
    ^
0_0_33870418_26754\Main.java:33: 错误: 需要class, interface或enum
        return;
        ^
0_0_33870418_26754\Main.java:34: 错误: 需要class, interface或enum
    }
    ^
0_0_33870418_26754\Main.java:36: 错误: 需要class, interface或enum
    while(k<M){
    ^
0_0_33870418_26754\Main.java:38: 错误: 需要class, interface或enum
        M=M-k;
        ^
0_0_33870418_26754\Main.java:39: 错误: 需要class, interface或enum
        k=k*2;
        ^
0_0_33870418_26754\Main.java:40: 错误: 需要class, interface或enum
    }
    ^
0_0_33870418_26754\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_33870418_26754\Main.java:48: 错误: 需要class, interface或enum
    coin[1].val=2;
    ^
0_0_33870418_26754\Main.java:49: 错误: 需要class, interface或enum
    coin[2].val=5;
    ^
0_0_33870418_26754\Main.java:50: 错误: 需要class, interface或enum
    while(scanf("%d%d%d",&coin[0].num,&coin[1].num,&coin[2].num)!=EOF&&(coin[0].num||coin[1].num||coin[2].num)){
    ^
0_0_33870418_26754\Main.java:52: 错误: 需要class, interface或enum
        V=coin[0].num*coin[0].val+coin[1].num*coin[1].val+coin[2].num*coin[2].val;
        ^
0_0_33870418_26754\Main.java:53: 错误: 需要class, interface或enum
        for(int i=0;i<3;i++){
        ^
0_0_33870418_26754\Main.java:53: 错误: 需要class, interface或enum
        for(int i=0;i<3;i++){
                    ^
0_0_33870418_26754\Main.java:53: 错误: 需要class, interface或enum
        for(int i=0;i<3;i++){
                        ^
0_0_33870418_26754\Main.java:55: 错误: 需要class, interface或enum
        }
        ^
0_0_33870418_26754\Main.java:57: 错误: 需要class, interface或enum
        for(v=0;v<=V;v++){
        ^
0_0_33870418_26754\Main.java:57: 错误: 需要class, interface或enum
        for(v=0;v<=V;v++){
                ^
0_0_33870418_26754\Main.java:57: 错误: 需要class, interface或enum
        for(v=0;v<=V;v++){
                     ^
0_0_33870418_26754\Main.java:59: 错误: 需要class, interface或enum
        }
        ^
0_0_33870418_26754\Main.java:61: 错误: 需要class, interface或enum
    }
    ^
0_0_33870418_26754\Main.java:63: 错误: 需要class, interface或enum
}
^
38 个错误


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-26 19:09:59, Gzip enabled