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_15235385_8456\Main.java:1: 错误: 非法字符: '#'
#include <string.h>
^
0_0_15235385_8456\Main.java:1: 错误: 需要class, interface或enum
#include <string.h>
         ^
0_0_15235385_8456\Main.java:2: 错误: 非法字符: '#'
#include <stdlib.h>
^
0_0_15235385_8456\Main.java:3: 错误: 非法字符: '#'
#define MAXN 205
^
0_0_15235385_8456\Main.java:5: 错误: 需要class, interface或enum
int f[MAXN][MAXN];
^
0_0_15235385_8456\Main.java:7: 错误: 需要class, interface或enum
int main()
^
0_0_15235385_8456\Main.java:10: 错误: 需要class, interface或enum
    for(scanf("%d", &T); T--; )
    ^
0_0_15235385_8456\Main.java:10: 错误: 需要class, interface或enum
    for(scanf("%d", &T); T--; )
                         ^
0_0_15235385_8456\Main.java:10: 错误: 需要class, interface或enum
    for(scanf("%d", &T); T--; )
                              ^
0_0_15235385_8456\Main.java:13: 错误: 需要class, interface或enum
        for(int i = 1; i <= N; ++i)
        ^
0_0_15235385_8456\Main.java:13: 错误: 需要class, interface或enum
        for(int i = 1; i <= N; ++i)
                       ^
0_0_15235385_8456\Main.java:13: 错误: 需要class, interface或enum
        for(int i = 1; i <= N; ++i)
                               ^
0_0_15235385_8456\Main.java:15: 错误: 需要class, interface或enum
        memset(f, 0, sizeof(f));
        ^
0_0_15235385_8456\Main.java:16: 错误: 需要class, interface或enum
        int ans = 1;
        ^
0_0_15235385_8456\Main.java:17: 错误: 需要class, interface或enum
        for(int i = 1; i <= N; ++i)
        ^
0_0_15235385_8456\Main.java:17: 错误: 需要class, interface或enum
        for(int i = 1; i <= N; ++i)
                       ^
0_0_15235385_8456\Main.java:17: 错误: 需要class, interface或enum
        for(int i = 1; i <= N; ++i)
                               ^
0_0_15235385_8456\Main.java:20: 错误: 需要class, interface或enum
            for(int j = N; i < j;  --j)
            ^
0_0_15235385_8456\Main.java:20: 错误: 需要class, interface或enum
            for(int j = N; i < j;  --j)
                           ^
0_0_15235385_8456\Main.java:20: 错误: 需要class, interface或enum
            for(int j = N; i < j;  --j)
                                   ^
0_0_15235385_8456\Main.java:24: 错误: 需要class, interface或enum
                if((a[i] == a[j]) && (f[i][j] < max + 1))//当相等
                ^
0_0_15235385_8456\Main.java:27: 错误: 需要class, interface或enum
                else if((a[i] > a[j]) &&(f[i-1][j] > max)) max = f[i-1][j];//在b串中,取一个以小于a【i】的结尾的最大长度
                ^
0_0_15235385_8456\Main.java:28: 错误: 需要class, interface或enum
                if(f[i][j] * 2 > ans) ans = f[i][j] * 2;
                ^
0_0_15235385_8456\Main.java:29: 错误: 需要class, interface或enum
                for(int k = i + 1; k < j; ++k)//判断是否中间有一个比很大的数
                ^
0_0_15235385_8456\Main.java:29: 错误: 需要class, interface或enum
                for(int k = i + 1; k < j; ++k)//判断是否中间有一个比很大的数
                                   ^
0_0_15235385_8456\Main.java:29: 错误: 需要class, interface或enum
                for(int k = i + 1; k < j; ++k)//判断是否中间有一个比很大的数
                                          ^
0_0_15235385_8456\Main.java:35: 错误: 需要class, interface或enum
                    }
                    ^
0_0_15235385_8456\Main.java:40: 错误: 需要class, interface或enum
    }
    ^
0_0_15235385_8456\Main.java:43: 错误: 需要class, interface或enum
}
^
29 个错误


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 18:57:11, Gzip enabled