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_15348651_2780\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_15348651_2780\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_15348651_2780\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_15348651_2780\Main.java:3: 错误: 非法字符: '#'
#include <cstdlib>
^
0_0_15348651_2780\Main.java:4: 错误: 非法字符: '#'
#include <cstring>
^
0_0_15348651_2780\Main.java:6: 错误: 非法字符: '#'
#define MAXN 1005
^
0_0_15348651_2780\Main.java:6: 错误: 需要class, interface或enum
#define MAXN 1005
        ^
0_0_15348651_2780\Main.java:8: 错误: 需要class, interface或enum
char s1[MAXN], s2[MAXN];
^
0_0_15348651_2780\Main.java:9: 错误: 需要class, interface或enum
char ch1[2], ch2[2];
^
0_0_15348651_2780\Main.java:10: 错误: 需要class, interface或enum
bool hash[128][128];
^
0_0_15348651_2780\Main.java:11: 错误: 需要class, interface或enum
int Max(int a, int b)
^
0_0_15348651_2780\Main.java:14: 错误: 需要class, interface或enum
}
^
0_0_15348651_2780\Main.java:18: 错误: 需要class, interface或enum
    int cas = 0;
    ^
0_0_15348651_2780\Main.java:19: 错误: 需要class, interface或enum
    for(scanf("%d", &T); T--; )
    ^
0_0_15348651_2780\Main.java:19: 错误: 需要class, interface或enum
    for(scanf("%d", &T); T--; )
                         ^
0_0_15348651_2780\Main.java:19: 错误: 需要class, interface或enum
    for(scanf("%d", &T); T--; )
                              ^
0_0_15348651_2780\Main.java:22: 错误: 需要class, interface或enum
        int m;
        ^
0_0_15348651_2780\Main.java:23: 错误: 需要class, interface或enum
        scanf("%d", &m);
        ^
0_0_15348651_2780\Main.java:24: 错误: 需要class, interface或enum
        memset(hash, 0, sizeof(hash));
        ^
0_0_15348651_2780\Main.java:25: 错误: 需要class, interface或enum
        while(m--)
        ^
0_0_15348651_2780\Main.java:28: 错误: 需要class, interface或enum
            hash[ch1[0]][ch2[0]] = 1;
            ^
0_0_15348651_2780\Main.java:29: 错误: 需要class, interface或enum
        }
        ^
0_0_15348651_2780\Main.java:31: 错误: 需要class, interface或enum
        int len2 = strlen(s2 + 1);
        ^
0_0_15348651_2780\Main.java:32: 错误: 需要class, interface或enum
        memset(dp, 0, sizeof(dp));
        ^
0_0_15348651_2780\Main.java:33: 错误: 需要class, interface或enum
        for(int i = 1; i <= len2; ++i)
        ^
0_0_15348651_2780\Main.java:33: 错误: 需要class, interface或enum
        for(int i = 1; i <= len2; ++i)
                       ^
0_0_15348651_2780\Main.java:33: 错误: 需要class, interface或enum
        for(int i = 1; i <= len2; ++i)
                                  ^
0_0_15348651_2780\Main.java:35: 错误: 需要class, interface或enum
            for(int j = 1; j <= len1; ++j)
                           ^
0_0_15348651_2780\Main.java:35: 错误: 需要class, interface或enum
            for(int j = 1; j <= len1; ++j)
                                      ^
0_0_15348651_2780\Main.java:38: 错误: 需要class, interface或enum
                if((s2[i] == s1[j]) || (hash[s2[i]][s1[j]]))
                ^
0_0_15348651_2780\Main.java:40: 错误: 需要class, interface或enum
            }
            ^
0_0_15348651_2780\Main.java:44: 错误: 需要class, interface或enum
        else
        ^
0_0_15348651_2780\Main.java:46: 错误: 需要class, interface或enum
    }
    ^
0_0_15348651_2780\Main.java:48: 错误: 需要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-29 16:32:12, Gzip enabled