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_33274219_27761\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_33274219_27761\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_33274219_27761\Main.java:5: 错误: 需要class, interface或enum
const int maxn=1005;
^
0_0_33274219_27761\Main.java:6: 错误: 需要class, interface或enum
const int maxm=1005;
^
0_0_33274219_27761\Main.java:7: 错误: 需要class, interface或enum
const int maxnode=maxn*maxm;
^
0_0_33274219_27761\Main.java:8: 错误: 需要class, interface或enum
const int inf=0x3f3f3f3f;
^
0_0_33274219_27761\Main.java:10: 错误: 需要class, interface或enum
int N,M;
^
0_0_33274219_27761\Main.java:12: 错误: 需要class, interface或enum
struct DLX{
^
0_0_33274219_27761\Main.java:14: 错误: 需要class, interface或enum
    int U[maxnode],D[maxnode],R[maxnode],L[maxnode],Row[maxnode],Col[maxnode];
    ^
0_0_33274219_27761\Main.java:15: 错误: 需要class, interface或enum
    int H[maxn],S[maxm];
    ^
0_0_33274219_27761\Main.java:16: 错误: 需要class, interface或enum
    int ansd,ans[maxn];
    ^
0_0_33274219_27761\Main.java:17: 错误: 需要class, interface或enum
    void init(int _n,int _m){
    ^
0_0_33274219_27761\Main.java:19: 错误: 需要class, interface或enum
        m=_m;
        ^
0_0_33274219_27761\Main.java:20: 错误: 需要class, interface或enum
        for(int i=0;i<=m;i++){
        ^
0_0_33274219_27761\Main.java:20: 错误: 需要class, interface或enum
        for(int i=0;i<=m;i++){
                    ^
0_0_33274219_27761\Main.java:20: 错误: 需要class, interface或enum
        for(int i=0;i<=m;i++){
                         ^
0_0_33274219_27761\Main.java:22: 错误: 需要class, interface或enum
            U[i]=D[i]=i;
            ^
0_0_33274219_27761\Main.java:23: 错误: 需要class, interface或enum
            L[i]=i-1;
            ^
0_0_33274219_27761\Main.java:24: 错误: 需要class, interface或enum
            R[i]=i+1;
            ^
0_0_33274219_27761\Main.java:25: 错误: 需要class, interface或enum
        }
        ^
0_0_33274219_27761\Main.java:26: 错误: 需要class, interface或enum
        R[m]=0;L[0]=m;
               ^
0_0_33274219_27761\Main.java:27: 错误: 需要class, interface或enum
        size=m;
        ^
0_0_33274219_27761\Main.java:28: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
        ^
0_0_33274219_27761\Main.java:28: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
                    ^
0_0_33274219_27761\Main.java:28: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
                         ^
0_0_33274219_27761\Main.java:30: 错误: 需要class, interface或enum
        }
        ^
0_0_33274219_27761\Main.java:34: 错误: 需要class, interface或enum
        Row[size]=r;
        ^
0_0_33274219_27761\Main.java:35: 错误: 需要class, interface或enum
        D[size]=D[c];
        ^
0_0_33274219_27761\Main.java:36: 错误: 需要class, interface或enum
        U[D[c]]=size;
        ^
0_0_33274219_27761\Main.java:37: 错误: 需要class, interface或enum
        U[size]=c;
        ^
0_0_33274219_27761\Main.java:38: 错误: 需要class, interface或enum
        D[c]=size;
        ^
0_0_33274219_27761\Main.java:39: 错误: 需要class, interface或enum
        if(H[r]<0) H[r]=L[size]=R[size]=size;
        ^
0_0_33274219_27761\Main.java:40: 错误: 需要class, interface或enum
        else{
        ^
0_0_33274219_27761\Main.java:42: 错误: 需要class, interface或enum
            L[R[H[r]]]=size;
            ^
0_0_33274219_27761\Main.java:43: 错误: 需要class, interface或enum
            L[size]=H[r];
            ^
0_0_33274219_27761\Main.java:44: 错误: 需要class, interface或enum
            R[H[r]]=size;
            ^
0_0_33274219_27761\Main.java:45: 错误: 需要class, interface或enum
        }
        ^
0_0_33274219_27761\Main.java:48: 错误: 需要class, interface或enum
        for(int i=D[c];i!=c;i=D[i]){
                       ^
0_0_33274219_27761\Main.java:48: 错误: 需要class, interface或enum
        for(int i=D[c];i!=c;i=D[i]){
                            ^
0_0_33274219_27761\Main.java:50: 错误: 需要class, interface或enum
            R[L[i]]=R[i];
            ^
0_0_33274219_27761\Main.java:51: 错误: 需要class, interface或enum
        }
        ^
0_0_33274219_27761\Main.java:54: 错误: 需要class, interface或enum
        for(int i=U[c];i!=c;i=U[i]){
                       ^
0_0_33274219_27761\Main.java:54: 错误: 需要class, interface或enum
        for(int i=U[c];i!=c;i=U[i]){
                            ^
0_0_33274219_27761\Main.java:56: 错误: 需要class, interface或enum
        }
        ^
0_0_33274219_27761\Main.java:59: 错误: 需要class, interface或enum
    int f(){
    ^
0_0_33274219_27761\Main.java:61: 错误: 需要class, interface或enum
        for(int c=R[0];c!=0;c=R[c]) v[c]=1;
        ^
0_0_33274219_27761\Main.java:61: 错误: 需要class, interface或enum
        for(int c=R[0];c!=0;c=R[c]) v[c]=1;
                       ^
0_0_33274219_27761\Main.java:61: 错误: 需要class, interface或enum
        for(int c=R[0];c!=0;c=R[c]) v[c]=1;
                            ^
0_0_33274219_27761\Main.java:62: 错误: 需要class, interface或enum
        for(int c=R[0];c!=0;c=R[c]){
        ^
0_0_33274219_27761\Main.java:62: 错误: 需要class, interface或enum
        for(int c=R[0];c!=0;c=R[c]){
                       ^
0_0_33274219_27761\Main.java:62: 错误: 需要class, interface或enum
        for(int c=R[0];c!=0;c=R[c]){
                            ^
0_0_33274219_27761\Main.java:65: 错误: 需要class, interface或enum
                v[c]=false;
                ^
0_0_33274219_27761\Main.java:66: 错误: 需要class, interface或enum
                for(int i=D[c];i!=c;i=D[i]){
                ^
0_0_33274219_27761\Main.java:66: 错误: 需要class, interface或enum
                for(int i=D[c];i!=c;i=D[i]){
                               ^
0_0_33274219_27761\Main.java:66: 错误: 需要class, interface或enum
                for(int i=D[c];i!=c;i=D[i]){
                                    ^
0_0_33274219_27761\Main.java:67: 错误: 需要class, interface或enum
                    for(int j=R[i];j!=i;j=R[j]){
                                   ^
0_0_33274219_27761\Main.java:67: 错误: 需要class, interface或enum
                    for(int j=R[i];j!=i;j=R[j]){
                                        ^
0_0_33274219_27761\Main.java:69: 错误: 需要class, interface或enum
                    }
                    ^
0_0_33274219_27761\Main.java:74: 错误: 需要class, interface或enum
    }
    ^
0_0_33274219_27761\Main.java:77: 错误: 需要class, interface或enum
        if(R[0]==0){
        ^
0_0_33274219_27761\Main.java:79: 错误: 需要class, interface或enum
        }
        ^
0_0_33274219_27761\Main.java:81: 错误: 需要class, interface或enum
        for(int i=R[0];i!=0;i=R[i]){
        ^
0_0_33274219_27761\Main.java:81: 错误: 需要class, interface或enum
        for(int i=R[0];i!=0;i=R[i]){
                       ^
0_0_33274219_27761\Main.java:81: 错误: 需要class, interface或enum
        for(int i=R[0];i!=0;i=R[i]){
                            ^
0_0_33274219_27761\Main.java:84: 错误: 需要class, interface或enum
            }
            ^
0_0_33274219_27761\Main.java:86: 错误: 需要class, interface或enum
        for(int i=D[c];i!=c;i=D[i]){
                       ^
0_0_33274219_27761\Main.java:86: 错误: 需要class, interface或enum
        for(int i=D[c];i!=c;i=D[i]){
                            ^
0_0_33274219_27761\Main.java:88: 错误: 需要class, interface或enum
            for(int j=R[i];j!=i;j=R[j]) remove(j);
            ^
0_0_33274219_27761\Main.java:88: 错误: 需要class, interface或enum
            for(int j=R[i];j!=i;j=R[j]) remove(j);
                           ^
0_0_33274219_27761\Main.java:88: 错误: 需要class, interface或enum
            for(int j=R[i];j!=i;j=R[j]) remove(j);
                                ^
0_0_33274219_27761\Main.java:89: 错误: 需要class, interface或enum
            if(dance(d+1)) return true;
            ^
0_0_33274219_27761\Main.java:90: 错误: 需要class, interface或enum
            for(int j=L[i];j!=i;j=L[j]) resume(j);
            ^
0_0_33274219_27761\Main.java:90: 错误: 需要class, interface或enum
            for(int j=L[i];j!=i;j=L[j]) resume(j);
                           ^
0_0_33274219_27761\Main.java:90: 错误: 需要class, interface或enum
            for(int j=L[i];j!=i;j=L[j]) resume(j);
                                ^
0_0_33274219_27761\Main.java:91: 错误: 需要class, interface或enum
            resume(i);
            ^
0_0_33274219_27761\Main.java:92: 错误: 需要class, interface或enum
        }
        ^
0_0_33274219_27761\Main.java:94: 错误: 需要class, interface或enum
    }
    ^
0_0_33274219_27761\Main.java:97: 错误: 需要class, interface或enum
struct point{
^
0_0_33274219_27761\Main.java:99: 错误: 需要class, interface或enum
    point(){}
    ^
0_0_33274219_27761\Main.java:101: 错误: 需要class, interface或enum
    point operator - (const point p){ return point(x-p.x,y-p.y); }
                                                                 ^
0_0_33274219_27761\Main.java:102: 错误: 需要class, interface或enum
    point operator + (const point p){ return point(x+p.x,y+p.y); }
                                                                 ^
0_0_33274219_27761\Main.java:103: 错误: 需要class, interface或enum
    point operator * (double s){ return point(x*s,y*s); }
                                                        ^
0_0_33274219_27761\Ma


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 11:57:39, Gzip enabled