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_30918358_25098\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_30918358_25098\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_30918358_25098\Main.java:3: 错误: 需要class, interface或enum
typedef long long int ll;
^
0_0_30918358_25098\Main.java:5: 错误: 需要class, interface或enum
char str[150005];//原始数组
^
0_0_30918358_25098\Main.java:6: 错误: 需要class, interface或enum
char mm[150005];//答案数组
^
0_0_30918358_25098\Main.java:8: 错误: 需要class, interface或enum
bool vis[150005];//当前位是否被访问过
^
0_0_30918358_25098\Main.java:9: 错误: 需要class, interface或enum
ll ma[150005];//记录出现的位,这样可以不用memset
^
0_0_30918358_25098\Main.java:10: 错误: 需要class, interface或enum
int top;//队列实现
^
0_0_30918358_25098\Main.java:12: 错误: 需要class, interface或enum
ll N;
^
0_0_30918358_25098\Main.java:14: 错误: 需要class, interface或enum
struct point{
^
0_0_30918358_25098\Main.java:16: 错误: 需要class, interface或enum
    int step;
    ^
0_0_30918358_25098\Main.java:17: 错误: 需要class, interface或enum
    point(ll a=0,int b=0){
    ^
0_0_30918358_25098\Main.java:19: 错误: 需要class, interface或enum
        step=b;
        ^
0_0_30918358_25098\Main.java:20: 错误: 需要class, interface或enum
    }
    ^
0_0_30918358_25098\Main.java:24: 错误: 需要class, interface或enum
        return a.step>b.step;//step小的优先
        ^
0_0_30918358_25098\Main.java:25: 错误: 需要class, interface或enum
    }
    ^
0_0_30918358_25098\Main.java:28: 错误: 需要class, interface或enum
priority_queue<point> que;
^
0_0_30918358_25098\Main.java:30: 错误: 需要class, interface或enum
void bfs(){
^
0_0_30918358_25098\Main.java:33: 错误: 需要class, interface或enum
    while(!que.empty()){
    ^
0_0_30918358_25098\Main.java:35: 错误: 需要class, interface或enum
        que.pop();
        ^
0_0_30918358_25098\Main.java:38: 错误: 需要class, interface或enum
        if(tp.step!=last){
        ^
0_0_30918358_25098\Main.java:40: 错误: 需要class, interface或enum
            while(top){
            ^
0_0_30918358_25098\Main.java:42: 错误: 需要class, interface或enum
            }
            ^
0_0_30918358_25098\Main.java:49: 错误: 需要class, interface或enum
        if(mm[tp.step]>str[tp.i])
        ^
0_0_30918358_25098\Main.java:52: 错误: 需要class, interface或enum
        if(vis[tp.i])
        ^
0_0_30918358_25098\Main.java:55: 错误: 需要class, interface或enum
        vis[tp.i]=1;
        ^
0_0_30918358_25098\Main.java:56: 错误: 需要class, interface或enum
        ma[top++]=tp.i;
        ^
0_0_30918358_25098\Main.java:57: 错误: 需要class, interface或enum
        mm[tp.step]=str[tp.i];
        ^
0_0_30918358_25098\Main.java:58: 错误: 需要class, interface或enum
        que.push(point((tp.i*tp.i+1)%N,tp.step+1));
        ^
0_0_30918358_25098\Main.java:60: 错误: 需要class, interface或enum
    }
    ^
0_0_30918358_25098\Main.java:66: 错误: 需要class, interface或enum
    scanf("%d",&t);
    ^
0_0_30918358_25098\Main.java:68: 错误: 需要class, interface或enum
    for(int qqq=1;qqq<=t;qqq++){
    ^
0_0_30918358_25098\Main.java:68: 错误: 需要class, interface或enum
    for(int qqq=1;qqq<=t;qqq++){
                  ^
0_0_30918358_25098\Main.java:68: 错误: 需要class, interface或enum
    for(int qqq=1;qqq<=t;qqq++){
                         ^
0_0_30918358_25098\Main.java:71: 错误: 需要class, interface或enum
        scanf("%s",str);
        ^
0_0_30918358_25098\Main.java:73: 错误: 需要class, interface或enum
        char ma=0;
        ^
0_0_30918358_25098\Main.java:74: 错误: 需要class, interface或enum
        for(ll i=0;i<N;i++)
        ^
0_0_30918358_25098\Main.java:74: 错误: 需要class, interface或enum
        for(ll i=0;i<N;i++)
                   ^
0_0_30918358_25098\Main.java:74: 错误: 需要class, interface或enum
        for(ll i=0;i<N;i++)
                       ^
0_0_30918358_25098\Main.java:77: 错误: 需要class, interface或enum
        for(ll i=0;i<N;i++)
        ^
0_0_30918358_25098\Main.java:77: 错误: 需要class, interface或enum
        for(ll i=0;i<N;i++)
                   ^
0_0_30918358_25098\Main.java:77: 错误: 需要class, interface或enum
        for(ll i=0;i<N;i++)
                       ^
0_0_30918358_25098\Main.java:81: 错误: 需要class, interface或enum
        bfs();
        ^
0_0_30918358_25098\Main.java:82: 错误: 需要class, interface或enum
        printf("Case #%d: ",qqq);
        ^
0_0_30918358_25098\Main.java:83: 错误: 需要class, interface或enum
        for(ll i=0;i<N;i++)
        ^
0_0_30918358_25098\Main.java:83: 错误: 需要class, interface或enum
        for(ll i=0;i<N;i++)
                   ^
0_0_30918358_25098\Main.java:83: 错误: 需要class, interface或enum
        for(ll i=0;i<N;i++)
                       ^
0_0_30918358_25098\Main.java:85: 错误: 需要class, interface或enum
        puts("");
        ^
0_0_30918358_25098\Main.java:86: 错误: 需要class, interface或enum
        for(ll i=0;i<N;i++)
        ^
0_0_30918358_25098\Main.java:86: 错误: 需要class, interface或enum
        for(ll i=0;i<N;i++)
                   ^
0_0_30918358_25098\Main.java:86: 错误: 需要class, interface或enum
        for(ll i=0;i<N;i++)
                       ^
0_0_30918358_25098\Main.java:88: 错误: 需要class, interface或enum
    }
    ^
0_0_30918358_25098\Main.java:91: 错误: 需要class, interface或enum
}
^
53 个错误


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 09:31:20, Gzip enabled