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_29473748_25702\Main.java:2: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_29473748_25702\Main.java:2: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_29473748_25702\Main.java:6: 错误: 需要class, interface或enum
const int N=2e4+10;
^
0_0_29473748_25702\Main.java:8: 错误: 需要class, interface或enum
typedef struct node{
^
0_0_29473748_25702\Main.java:14: 错误: 需要class, interface或enum
}node;
^
0_0_29473748_25702\Main.java:16: 错误: 需要class, interface或enum
int t=1,n;
^
0_0_29473748_25702\Main.java:18: 错误: 需要class, interface或enum
void solve(){
^
0_0_29473748_25702\Main.java:24: 错误: 需要class, interface或enum
    int round=n;
    ^
0_0_29473748_25702\Main.java:26: 错误: 需要class, interface或enum
    node a[N];
    ^
0_0_29473748_25702\Main.java:28: 错误: 需要class, interface或enum
    queue<int>q;
    ^
0_0_29473748_25702\Main.java:30: 错误: 需要class, interface或enum
    for(int i=1;i<=(1<<n);i++){
    ^
0_0_29473748_25702\Main.java:30: 错误: 需要class, interface或enum
    for(int i=1;i<=(1<<n);i++){
                ^
0_0_29473748_25702\Main.java:30: 错误: 需要class, interface或enum
    for(int i=1;i<=(1<<n);i++){
                          ^
0_0_29473748_25702\Main.java:34: 错误: 需要class, interface或enum
        a[i].maxz=0;
        ^
0_0_29473748_25702\Main.java:36: 错误: 需要class, interface或enum
        for(int j=0;j<n;j++){
        ^
0_0_29473748_25702\Main.java:36: 错误: 需要class, interface或enum
        for(int j=0;j<n;j++){
                    ^
0_0_29473748_25702\Main.java:36: 错误: 需要class, interface或enum
        for(int j=0;j<n;j++){
                        ^
0_0_29473748_25702\Main.java:40: 错误: 需要class, interface或enum
            a[i].maxz=max(a[i].maxz,a[i].song[j]);
            ^
0_0_29473748_25702\Main.java:42: 错误: 需要class, interface或enum
        }
        ^
0_0_29473748_25702\Main.java:46: 错误: 需要class, interface或enum
        sort(a[i].song,a[i].song+n);
        ^
0_0_29473748_25702\Main.java:48: 错误: 需要class, interface或enum
    }
    ^
0_0_29473748_25702\Main.java:66: 错误: 需要class, interface或enum
    int tot=0;
    ^
0_0_29473748_25702\Main.java:68: 错误: 需要class, interface或enum
    while(!q.empty()){
    ^
0_0_29473748_25702\Main.java:72: 错误: 需要class, interface或enum
        int t1=q.front();q.pop();
        ^
0_0_29473748_25702\Main.java:72: 错误: 需要class, interface或enum
        int t1=q.front();q.pop();
                         ^
0_0_29473748_25702\Main.java:74: 错误: 需要class, interface或enum
        if(q.empty()){
        ^
0_0_29473748_25702\Main.java:76: 错误: 需要class, interface或enum
            ans=a[t1].No;break;
                         ^
0_0_29473748_25702\Main.java:78: 错误: 需要class, interface或enum
        }
        ^
0_0_29473748_25702\Main.java:80: 错误: 需要class, interface或enum
        int t2=q.front();q.pop();
                         ^
0_0_29473748_25702\Main.java:82: 错误: 需要class, interface或enum
        if(a[t1].maxz>a[t2].maxz){
        ^
0_0_29473748_25702\Main.java:86: 错误: 需要class, interface或enum
            a[t1].song[tmp]=0;
            ^
0_0_29473748_25702\Main.java:88: 错误: 需要class, interface或enum
            sort(a[t1].song,a[t1].song+n);
            ^
0_0_29473748_25702\Main.java:90: 错误: 需要class, interface或enum
            a[t1].maxz=a[t1].song[n-1];
            ^
0_0_29473748_25702\Main.java:94: 错误: 需要class, interface或enum
            q.push(t1);
            ^
0_0_29473748_25702\Main.java:96: 错误: 需要class, interface或enum
        }else{
        ^
0_0_29473748_25702\Main.java:100: 错误: 需要class, interface或enum
            a[t2].song[tmp]=0;
            ^
0_0_29473748_25702\Main.java:102: 错误: 需要class, interface或enum
            sort(a[t2].song,a[t2].song+n);
            ^
0_0_29473748_25702\Main.java:104: 错误: 需要class, interface或enum
            a[t2].maxz=a[t2].song[n-1];
            ^
0_0_29473748_25702\Main.java:108: 错误: 需要class, interface或enum
            q.push(t2);
            ^
0_0_29473748_25702\Main.java:110: 错误: 需要class, interface或enum
        }
        ^
0_0_29473748_25702\Main.java:116: 错误: 需要class, interface或enum
}
^
0_0_29473748_25702\Main.java:124: 错误: 需要class, interface或enum
    for(scanf("%d",&T);t<=T;t++){
    ^
0_0_29473748_25702\Main.java:124: 错误: 需要class, interface或enum
    for(scanf("%d",&T);t<=T;t++){
                       ^
0_0_29473748_25702\Main.java:124: 错误: 需要class, interface或enum
    for(scanf("%d",&T);t<=T;t++){
                            ^
0_0_29473748_25702\Main.java:128: 错误: 需要class, interface或enum
    }
    ^
0_0_29473748_25702\Main.java:132: 错误: 需要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-22 17:54:14, Gzip enabled