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_27688363_32255\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_27688363_32255\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_27688363_32255\Main.java:3: 错误: 需要class, interface或enum
typedef  long long ll;
^
0_0_27688363_32255\Main.java:4: 错误: 需要class, interface或enum
const ll maxn=1e18+5;
^
0_0_27688363_32255\Main.java:5: 错误: 需要class, interface或enum
ll n,k,lef[105],all[105],ans,ceng,lefts,rights,mid;
^
0_0_27688363_32255\Main.java:6: 错误: 需要class, interface或enum
void dfs(ll ce,ll num){
^
0_0_27688363_32255\Main.java:8: 错误: 需要class, interface或enum
    dfs(ce+1,num*k);
    ^
0_0_27688363_32255\Main.java:9: 错误: 需要class, interface或enum
    ll nowle=lef[ce]-1;
    ^
0_0_27688363_32255\Main.java:10: 错误: 需要class, interface或enum
    if(nowle&1) ans^=lefts;
    ^
0_0_27688363_32255\Main.java:11: 错误: 需要class, interface或enum
    ll nowri=all[ce]-nowle-1;
    ^
0_0_27688363_32255\Main.java:12: 错误: 需要class, interface或enum
    if(nowri&1) ans^=rights;
    ^
0_0_27688363_32255\Main.java:13: 错误: 需要class, interface或enum
    ans^=mid;
    ^
0_0_27688363_32255\Main.java:14: 错误: 需要class, interface或enum
    mid=mid+(nowle%k)*lefts+(k-nowle%k-1)*rights+1;
    ^
0_0_27688363_32255\Main.java:15: 错误: 需要class, interface或enum
    lefts=lefts*k+1;
    ^
0_0_27688363_32255\Main.java:16: 错误: 需要class, interface或enum
    rights=rights*k+1;
    ^
0_0_27688363_32255\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_27688363_32255\Main.java:20: 错误: 需要class, interface或enum
    if(a%2==1){
    ^
0_0_27688363_32255\Main.java:22: 错误: 需要class, interface或enum
        else return 1;
        ^
0_0_27688363_32255\Main.java:23: 错误: 需要class, interface或enum
    }
    ^
0_0_27688363_32255\Main.java:26: 错误: 需要class, interface或enum
        else return 1^a;
        ^
0_0_27688363_32255\Main.java:27: 错误: 需要class, interface或enum
    }
    ^
0_0_27688363_32255\Main.java:32: 错误: 需要class, interface或enum
    cin>>t;
    ^
0_0_27688363_32255\Main.java:33: 错误: 需要class, interface或enum
    while(t--){
    ^
0_0_27688363_32255\Main.java:35: 错误: 需要class, interface或enum
        if(k==1){
        ^
0_0_27688363_32255\Main.java:37: 错误: 需要class, interface或enum
            continue;
            ^
0_0_27688363_32255\Main.java:38: 错误: 需要class, interface或enum
        }
        ^
0_0_27688363_32255\Main.java:40: 错误: 需要class, interface或enum
        ceng=1;
        ^
0_0_27688363_32255\Main.java:41: 错误: 需要class, interface或enum
        for(int i=1;i<105;i++){
        ^
0_0_27688363_32255\Main.java:41: 错误: 需要class, interface或enum
        for(int i=1;i<105;i++){
                    ^
0_0_27688363_32255\Main.java:41: 错误: 需要class, interface或enum
        for(int i=1;i<105;i++){
                          ^
0_0_27688363_32255\Main.java:44: 错误: 需要class, interface或enum
                all[i]=now;
                ^
0_0_27688363_32255\Main.java:45: 错误: 需要class, interface或enum
                now*=k;
                ^
0_0_27688363_32255\Main.java:46: 错误: 需要class, interface或enum
                ceng++;
                ^
0_0_27688363_32255\Main.java:47: 错误: 需要class, interface或enum
            }
            ^
0_0_27688363_32255\Main.java:50: 错误: 需要class, interface或enum
                break;
                ^
0_0_27688363_32255\Main.java:51: 错误: 需要class, interface或enum
            }
            ^
0_0_27688363_32255\Main.java:55: 错误: 需要class, interface或enum
            res=all[ceng];
            ^
0_0_27688363_32255\Main.java:56: 错误: 需要class, interface或enum
        }
        ^
0_0_27688363_32255\Main.java:57: 错误: 需要class, interface或enum
        for(int i=ceng;i>=1;i--){
                       ^
0_0_27688363_32255\Main.java:57: 错误: 需要class, interface或enum
        for(int i=ceng;i>=1;i--){
                            ^
0_0_27688363_32255\Main.java:59: 错误: 需要class, interface或enum
            res=(res+k-1)/k;
            ^
0_0_27688363_32255\Main.java:60: 错误: 需要class, interface或enum
        }
        ^
0_0_27688363_32255\Main.java:62: 错误: 需要class, interface或enum
        dfs(1,1);
        ^
0_0_27688363_32255\Main.java:63: 错误: 需要class, interface或enum
        printf("%lld\n",ans);
        ^
0_0_27688363_32255\Main.java:64: 错误: 需要class, interface或enum
    }
    ^
0_0_27688363_32255\Main.java:66: 错误: 需要class, interface或enum
}
^
46 个错误


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-23 00:33:28, Gzip enabled