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_27844734_25695\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_27844734_25695\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_27844734_25695\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_27844734_25695\Main.java:3: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_27844734_25695\Main.java:5: 错误: 需要class, interface或enum
const int inf=1<<31;
^
0_0_27844734_25695\Main.java:6: 错误: 需要class, interface或enum
int dp[105][105];
^
0_0_27844734_25695\Main.java:7: 错误: 需要class, interface或enum
int map1[105][105];
^
0_0_27844734_25695\Main.java:8: 错误: 需要class, interface或enum
int max(int a,int b)
^
0_0_27844734_25695\Main.java:11: 错误: 需要class, interface或enum
    return a;
    ^
0_0_27844734_25695\Main.java:12: 错误: 需要class, interface或enum
}
^
0_0_27844734_25695\Main.java:16: 错误: 需要class, interface或enum
    while(scanf("%d",&t)!=EOF)
    ^
0_0_27844734_25695\Main.java:19: 错误: 需要class, interface或enum
        while(t--)
        ^
0_0_27844734_25695\Main.java:22: 错误: 需要class, interface或enum
            for(int i=1; i<=n; i++)
            ^
0_0_27844734_25695\Main.java:22: 错误: 需要class, interface或enum
            for(int i=1; i<=n; i++)
                         ^
0_0_27844734_25695\Main.java:22: 错误: 需要class, interface或enum
            for(int i=1; i<=n; i++)
                               ^
0_0_27844734_25695\Main.java:24: 错误: 需要class, interface或enum
                for(int j=1; j<=m; j++)
                             ^
0_0_27844734_25695\Main.java:24: 错误: 需要class, interface或enum
                for(int j=1; j<=m; j++)
                                   ^
0_0_27844734_25695\Main.java:27: 错误: 需要class, interface或enum
                    dp[i][j]=inf;
                    ^
0_0_27844734_25695\Main.java:28: 错误: 需要class, interface或enum
                }
                ^
0_0_27844734_25695\Main.java:31: 错误: 需要class, interface或enum
            for(int i=2; i<=n; i++)
            ^
0_0_27844734_25695\Main.java:31: 错误: 需要class, interface或enum
            for(int i=2; i<=n; i++)
                         ^
0_0_27844734_25695\Main.java:31: 错误: 需要class, interface或enum
            for(int i=2; i<=n; i++)
                               ^
0_0_27844734_25695\Main.java:34: 错误: 需要class, interface或enum
            }
            ^
0_0_27844734_25695\Main.java:35: 错误: 需要class, interface或enum
            for(int x=2; x<=m; x++)
                         ^
0_0_27844734_25695\Main.java:35: 错误: 需要class, interface或enum
            for(int x=2; x<=m; x++)
                               ^
0_0_27844734_25695\Main.java:37: 错误: 需要class, interface或enum
                for(int i=1; i<=n; i++)
                             ^
0_0_27844734_25695\Main.java:37: 错误: 需要class, interface或enum
                for(int i=1; i<=n; i++)
                                   ^
0_0_27844734_25695\Main.java:40: 错误: 需要class, interface或enum
                    int temp2=temp1;
                    ^
0_0_27844734_25695\Main.java:41: 错误: 需要class, interface或enum
                    dp[i][x]=max(dp[i][x],temp1);
                    ^
0_0_27844734_25695\Main.java:42: 错误: 需要class, interface或enum
                    for(int j=i+1; j<=n; j++)
                    ^
0_0_27844734_25695\Main.java:42: 错误: 需要class, interface或enum
                    for(int j=i+1; j<=n; j++)
                                   ^
0_0_27844734_25695\Main.java:42: 错误: 需要class, interface或enum
                    for(int j=i+1; j<=n; j++)
                                         ^
0_0_27844734_25695\Main.java:45: 错误: 需要class, interface或enum
                        dp[j][x]=max(dp[j][x],temp1);
                        ^
0_0_27844734_25695\Main.java:46: 错误: 需要class, interface或enum
                    }
                    ^
0_0_27844734_25695\Main.java:47: 错误: 需要class, interface或enum
                    for(int j=i-1; j>=1; j--)
                                   ^
0_0_27844734_25695\Main.java:47: 错误: 需要class, interface或enum
                    for(int j=i-1; j>=1; j--)
                                         ^
0_0_27844734_25695\Main.java:50: 错误: 需要class, interface或enum
                        dp[j][x]=max(dp[j][x],temp2);
                        ^
0_0_27844734_25695\Main.java:51: 错误: 需要class, interface或enum
                    }
                    ^
0_0_27844734_25695\Main.java:55: 错误: 需要class, interface或enum
            printf("%d\n",dp[1][m]);
            ^
0_0_27844734_25695\Main.java:56: 错误: 需要class, interface或enum
        }
        ^
0_0_27844734_25695\Main.java:59: 错误: 需要class, interface或enum
}
^
41 个错误


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-04 15:02:29, Gzip enabled