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_17057934_26606\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_17057934_26606\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_17057934_26606\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_17057934_26606\Main.java:3: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_17057934_26606\Main.java:4: 错误: 非法字符: '#'
#include <map>
^
0_0_17057934_26606\Main.java:5: 错误: 非法字符: '#'
#define ull unsigned long long
^
0_0_17057934_26606\Main.java:9: 错误: 需要class, interface或enum
int M,L;
^
0_0_17057934_26606\Main.java:10: 错误: 需要class, interface或enum
char s[100010];
^
0_0_17057934_26606\Main.java:11: 错误: 需要class, interface或enum
const int seed=31;
^
0_0_17057934_26606\Main.java:12: 错误: 需要class, interface或enum
ull nbase[100010];
^
0_0_17057934_26606\Main.java:13: 错误: 需要class, interface或enum
ull hash[100010];
^
0_0_17057934_26606\Main.java:14: 错误: 需要class, interface或enum
ull h[100010];
^
0_0_17057934_26606\Main.java:16: 错误: 需要class, interface或enum
void solve()
^
0_0_17057934_26606\Main.java:19: 错误: 需要class, interface或enum
    hash[len+1]=0;
    ^
0_0_17057934_26606\Main.java:20: 错误: 需要class, interface或enum
    for (int i=len;i>=1;i--)
    ^
0_0_17057934_26606\Main.java:20: 错误: 需要class, interface或enum
    for (int i=len;i>=1;i--)
                   ^
0_0_17057934_26606\Main.java:20: 错误: 需要class, interface或enum
    for (int i=len;i>=1;i--)
                        ^
0_0_17057934_26606\Main.java:22: 错误: 需要class, interface或enum
    for (int i=1;i+L-1<=len;i++)
    ^
0_0_17057934_26606\Main.java:22: 错误: 需要class, interface或enum
    for (int i=1;i+L-1<=len;i++)
                 ^
0_0_17057934_26606\Main.java:22: 错误: 需要class, interface或enum
    for (int i=1;i+L-1<=len;i++)
                            ^
0_0_17057934_26606\Main.java:24: 错误: 需要class, interface或enum
    int ans=0;
    ^
0_0_17057934_26606\Main.java:25: 错误: 需要class, interface或enum
    for (int i=1;i<=L&&i+L*M-1<=len;i++)
    ^
0_0_17057934_26606\Main.java:25: 错误: 需要class, interface或enum
    for (int i=1;i<=L&&i+L*M-1<=len;i++)
                 ^
0_0_17057934_26606\Main.java:25: 错误: 需要class, interface或enum
    for (int i=1;i<=L&&i+L*M-1<=len;i++)
                                    ^
0_0_17057934_26606\Main.java:28: 错误: 需要class, interface或enum
        for (int t=0;t<M;t++)
        ^
0_0_17057934_26606\Main.java:28: 错误: 需要class, interface或enum
        for (int t=0;t<M;t++)
                     ^
0_0_17057934_26606\Main.java:28: 错误: 需要class, interface或enum
        for (int t=0;t<M;t++)
                         ^
0_0_17057934_26606\Main.java:31: 错误: 需要class, interface或enum
            mp[hh]++;
            ^
0_0_17057934_26606\Main.java:32: 错误: 需要class, interface或enum
        }
        ^
0_0_17057934_26606\Main.java:35: 错误: 需要class, interface或enum
        for (int t=M;i+(t+1)*L-1<=len;t++)
        ^
0_0_17057934_26606\Main.java:35: 错误: 需要class, interface或enum
        for (int t=M;i+(t+1)*L-1<=len;t++)
                     ^
0_0_17057934_26606\Main.java:35: 错误: 需要class, interface或enum
        for (int t=M;i+(t+1)*L-1<=len;t++)
                                      ^
0_0_17057934_26606\Main.java:38: 错误: 需要class, interface或enum
            mp[hh]--;
            ^
0_0_17057934_26606\Main.java:39: 错误: 需要class, interface或enum
            if(!mp[hh])
            ^
0_0_17057934_26606\Main.java:41: 错误: 需要class, interface或enum
            hh=h[i+t*L];
            ^
0_0_17057934_26606\Main.java:42: 错误: 需要class, interface或enum
            mp[hh]++;
            ^
0_0_17057934_26606\Main.java:43: 错误: 需要class, interface或enum
            if (mp.size()==M)
            ^
0_0_17057934_26606\Main.java:45: 错误: 需要class, interface或enum
        }
        ^
0_0_17057934_26606\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_17057934_26606\Main.java:53: 错误: 需要class, interface或enum
    for (int i=2;i<=100010;i++)
    ^
0_0_17057934_26606\Main.java:53: 错误: 需要class, interface或enum
    for (int i=2;i<=100010;i++)
                 ^
0_0_17057934_26606\Main.java:53: 错误: 需要class, interface或enum
    for (int i=2;i<=100010;i++)
                           ^
0_0_17057934_26606\Main.java:55: 错误: 需要class, interface或enum
    while (~scanf("%d%d",&M,&L))
    ^
0_0_17057934_26606\Main.java:58: 错误: 需要class, interface或enum
        solve();
        ^
0_0_17057934_26606\Main.java:59: 错误: 需要class, interface或enum
    }
    ^
45 个错误


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 15:35:36, Gzip enabled