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_24889285_9518\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_24889285_9518\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
        ^
0_0_24889285_9518\Main.java:2: 错误: 非法字符: '#'
#include<iostream>
^
0_0_24889285_9518\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_24889285_9518\Main.java:8: 错误: 需要class, interface或enum
int grade[10][15];
^
0_0_24889285_9518\Main.java:9: 错误: 需要class, interface或enum
int n,m;
^
0_0_24889285_9518\Main.java:10: 错误: 需要class, interface或enum
int cnt;
^
0_0_24889285_9518\Main.java:12: 错误: 需要class, interface或enum
void dfs(int a,int i){
^
0_0_24889285_9518\Main.java:14: 错误: 需要class, interface或enum
    if(a==0){
    ^
0_0_24889285_9518\Main.java:16: 错误: 需要class, interface或enum
        return;
        ^
0_0_24889285_9518\Main.java:17: 错误: 需要class, interface或enum
    }
    ^
0_0_24889285_9518\Main.java:20: 错误: 需要class, interface或enum
    if(grade[i][0]==-1){
    ^
0_0_24889285_9518\Main.java:22: 错误: 需要class, interface或enum
    }
    ^
0_0_24889285_9518\Main.java:23: 错误: 需要class, interface或enum
    for(j = 0;grade[i][j]!=-1;j++){
              ^
0_0_24889285_9518\Main.java:23: 错误: 需要class, interface或enum
    for(j = 0;grade[i][j]!=-1;j++){
                              ^
0_0_24889285_9518\Main.java:26: 错误: 需要class, interface或enum
        dfs(a-grade[i][j],i+1);
        ^
0_0_24889285_9518\Main.java:27: 错误: 需要class, interface或enum
    }
    ^
0_0_24889285_9518\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_24889285_9518\Main.java:34: 错误: 需要class, interface或enum
    cin>>t;
    ^
0_0_24889285_9518\Main.java:35: 错误: 需要class, interface或enum
    int i,j;
    ^
0_0_24889285_9518\Main.java:36: 错误: 需要class, interface或enum
    while(t--){
    ^
0_0_24889285_9518\Main.java:38: 错误: 需要class, interface或enum
        cin>>n>>m;
        ^
0_0_24889285_9518\Main.java:39: 错误: 需要class, interface或enum
        memset(grade,-1,sizeof(grade));
        ^
0_0_24889285_9518\Main.java:41: 错误: 需要class, interface或enum
        for(i = 0;i<m;i++){
        ^
0_0_24889285_9518\Main.java:41: 错误: 需要class, interface或enum
        for(i = 0;i<m;i++){
                  ^
0_0_24889285_9518\Main.java:41: 错误: 需要class, interface或enum
        for(i = 0;i<m;i++){
                      ^
0_0_24889285_9518\Main.java:43: 错误: 需要class, interface或enum
            cin>>g>>num;
            ^
0_0_24889285_9518\Main.java:44: 错误: 需要class, interface或enum
            grade[g][0] = 0;
            ^
0_0_24889285_9518\Main.java:45: 错误: 需要class, interface或enum
            for(j = 1;j<=num;j++){
            ^
0_0_24889285_9518\Main.java:45: 错误: 需要class, interface或enum
            for(j = 1;j<=num;j++){
                      ^
0_0_24889285_9518\Main.java:45: 错误: 需要class, interface或enum
            for(j = 1;j<=num;j++){
                             ^
0_0_24889285_9518\Main.java:47: 错误: 需要class, interface或enum
            }
            ^
0_0_24889285_9518\Main.java:50: 错误: 需要class, interface或enum
        printf("%d\n",cnt);
        ^
0_0_24889285_9518\Main.java:51: 错误: 需要class, interface或enum
    }
    ^
34 个错误


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 06:41:51, Gzip enabled