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_19779084_452\Main.java:1: 错误: 非法字符: '#'
    #include <stdio.h>  
    ^
0_0_19779084_452\Main.java:1: 错误: 需要class, interface或enum
    #include <stdio.h>  
             ^
0_0_19779084_452\Main.java:5: 错误: 需要class, interface或enum
    int dp[105][105];  
    ^
0_0_19779084_452\Main.java:6: 错误: 需要class, interface或enum
    int map1[105][105];  
    ^
0_0_19779084_452\Main.java:7: 错误: 需要class, interface或enum
    int max(int a,int b)  
    ^
0_0_19779084_452\Main.java:10: 错误: 需要class, interface或enum
        return a;  
        ^
0_0_19779084_452\Main.java:11: 错误: 需要class, interface或enum
    }  
    ^
0_0_19779084_452\Main.java:15: 错误: 需要class, interface或enum
        while(scanf("%d",&t)!=EOF)  
        ^
0_0_19779084_452\Main.java:18: 错误: 需要class, interface或enum
            while(t--)  
            ^
0_0_19779084_452\Main.java:21: 错误: 需要class, interface或enum
                for(int i=1; i<=n; i++)  
                ^
0_0_19779084_452\Main.java:21: 错误: 需要class, interface或enum
                for(int i=1; i<=n; i++)  
                             ^
0_0_19779084_452\Main.java:21: 错误: 需要class, interface或enum
                for(int i=1; i<=n; i++)  
                                   ^
0_0_19779084_452\Main.java:23: 错误: 需要class, interface或enum
                    for(int j=1; j<=m; j++)  
                                 ^
0_0_19779084_452\Main.java:23: 错误: 需要class, interface或enum
                    for(int j=1; j<=m; j++)  
                                       ^
0_0_19779084_452\Main.java:27: 错误: 需要class, interface或enum
                    }  
                    ^
0_0_19779084_452\Main.java:30: 错误: 需要class, interface或enum
                for(int i=2; i<=n; i++)  
                ^
0_0_19779084_452\Main.java:30: 错误: 需要class, interface或enum
                for(int i=2; i<=n; i++)  
                             ^
0_0_19779084_452\Main.java:30: 错误: 需要class, interface或enum
                for(int i=2; i<=n; i++)  
                                   ^
0_0_19779084_452\Main.java:33: 错误: 需要class, interface或enum
                }  
                ^
0_0_19779084_452\Main.java:34: 错误: 需要class, interface或enum
                for(int x=2; x<=m; x++)  
                             ^
0_0_19779084_452\Main.java:34: 错误: 需要class, interface或enum
                for(int x=2; x<=m; x++)  
                                   ^
0_0_19779084_452\Main.java:36: 错误: 需要class, interface或enum
                    for(int i=1; i<=n; i++)  
                                 ^
0_0_19779084_452\Main.java:36: 错误: 需要class, interface或enum
                    for(int i=1; i<=n; i++)  
                                       ^
0_0_19779084_452\Main.java:39: 错误: 需要class, interface或enum
                        int temp2=temp1;  
                        ^
0_0_19779084_452\Main.java:40: 错误: 需要class, interface或enum
                        dp[i][x]=max(dp[i][x],temp1);  
                        ^
0_0_19779084_452\Main.java:41: 错误: 需要class, interface或enum
                        for(int j=i+1; j<=n; j++)  
                        ^
0_0_19779084_452\Main.java:41: 错误: 需要class, interface或enum
                        for(int j=i+1; j<=n; j++)  
                                       ^
0_0_19779084_452\Main.java:41: 错误: 需要class, interface或enum
                        for(int j=i+1; j<=n; j++)  
                                             ^
0_0_19779084_452\Main.java:44: 错误: 需要class, interface或enum
                            dp[j][x]=max(dp[j][x],temp1);  
                            ^
0_0_19779084_452\Main.java:45: 错误: 需要class, interface或enum
                        }  
                        ^
0_0_19779084_452\Main.java:46: 错误: 需要class, interface或enum
                        for(int j=i-1; j>=1; j--)  
                                       ^
0_0_19779084_452\Main.java:46: 错误: 需要class, interface或enum
                        for(int j=i-1; j>=1; j--)  
                                             ^
0_0_19779084_452\Main.java:49: 错误: 需要class, interface或enum
                            dp[j][x]=max(dp[j][x],temp2);  
                            ^
0_0_19779084_452\Main.java:50: 错误: 需要class, interface或enum
                        }  
                        ^
0_0_19779084_452\Main.java:54: 错误: 需要class, interface或enum
                printf("%d\n",dp[1][m]);  
                ^
0_0_19779084_452\Main.java:55: 错误: 需要class, interface或enum
            }  
            ^
0_0_19779084_452\Main.java:58: 错误: 需要class, interface或enum
    }  
    ^
37 个错误


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-03 01:51:44, Gzip enabled