0_0_18377726_31802\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_18377726_31802\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
^
0_0_18377726_31802\Main.java:3: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_18377726_31802\Main.java:4: 错误: 需要class, interface或enum
const int maxnode = 4000;
^
0_0_18377726_31802\Main.java:5: 错误: 需要class, interface或enum
const int MaxM = 70;
^
0_0_18377726_31802\Main.java:6: 错误: 需要class, interface或enum
const int MaxN = 70;
^
0_0_18377726_31802\Main.java:7: 错误: 需要class, interface或enum
int N, K;
^
0_0_18377726_31802\Main.java:8: 错误: 需要class, interface或enum
struct DLX
^
0_0_18377726_31802\Main.java:11: 错误: 需要class, interface或enum
int U[maxnode],D[maxnode],R[maxnode],L[maxnode],Row[maxnode],Col[maxnode];
^
0_0_18377726_31802\Main.java:12: 错误: 需要class, interface或enum
int H[MaxN],S[MaxM];
^
0_0_18377726_31802\Main.java:13: 错误: 需要class, interface或enum
int ands,ans[MaxN];
^
0_0_18377726_31802\Main.java:14: 错误: 需要class, interface或enum
void init(int _n,int _m)
^
0_0_18377726_31802\Main.java:17: 错误: 需要class, interface或enum
m = _m;
^
0_0_18377726_31802\Main.java:18: 错误: 需要class, interface或enum
for(int i = 0;i <= m;i++)
^
0_0_18377726_31802\Main.java:18: 错误: 需要class, interface或enum
for(int i = 0;i <= m;i++)
^
0_0_18377726_31802\Main.java:18: 错误: 需要class, interface或enum
for(int i = 0;i <= m;i++)
^
0_0_18377726_31802\Main.java:21: 错误: 需要class, interface或enum
U[i] = D[i] = i;
^
0_0_18377726_31802\Main.java:22: 错误: 需要class, interface或enum
L[i] = i-1;
^
0_0_18377726_31802\Main.java:23: 错误: 需要class, interface或enum
R[i] = i+1;
^
0_0_18377726_31802\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_18377726_31802\Main.java:25: 错误: 需要class, interface或enum
R[m] = 0; L[0] = m;
^
0_0_18377726_31802\Main.java:26: 错误: 需要class, interface或enum
size = m;
^
0_0_18377726_31802\Main.java:27: 错误: 需要class, interface或enum
for(int i = 1;i <= n;i++)
^
0_0_18377726_31802\Main.java:27: 错误: 需要class, interface或enum
for(int i = 1;i <= n;i++)
^
0_0_18377726_31802\Main.java:27: 错误: 需要class, interface或enum
for(int i = 1;i <= n;i++)
^
0_0_18377726_31802\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_18377726_31802\Main.java:33: 错误: 需要class, interface或enum
Row[size] = r;
^
0_0_18377726_31802\Main.java:34: 错误: 需要class, interface或enum
D[size] = D[c];
^
0_0_18377726_31802\Main.java:35: 错误: 需要class, interface或enum
U[D[c]] = size;
^
0_0_18377726_31802\Main.java:36: 错误: 需要class, interface或enum
U[size] = c;
^
0_0_18377726_31802\Main.java:37: 错误: 需要class, interface或enum
D[c] = size;
^
0_0_18377726_31802\Main.java:38: 错误: 需要class, interface或enum
if(H[r] < 0)H[r] = L[size] = R[size] = size;
^
0_0_18377726_31802\Main.java:39: 错误: 需要class, interface或enum
else
^
0_0_18377726_31802\Main.java:42: 错误: 需要class, interface或enum
L[R[H[r]]] = size;
^
0_0_18377726_31802\Main.java:43: 错误: 需要class, interface或enum
L[size] = H[r];
^
0_0_18377726_31802\Main.java:44: 错误: 需要class, interface或enum
R[H[r]] = size;
^
0_0_18377726_31802\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_18377726_31802\Main.java:49: 错误: 需要class, interface或enum
for(int i = D[c];i != c;i = D[i])
^
0_0_18377726_31802\Main.java:49: 错误: 需要class, interface或enum
for(int i = D[c];i != c;i = D[i])
^
0_0_18377726_31802\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_18377726_31802\Main.java:54: 错误: 需要class, interface或enum
for(int i = U[c];i != c;i = U[i])
^
0_0_18377726_31802\Main.java:54: 错误: 需要class, interface或enum
for(int i = U[c];i != c;i = U[i])
^
0_0_18377726_31802\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_18377726_31802\Main.java:58: 错误: 需要class, interface或enum
int f()
^
0_0_18377726_31802\Main.java:61: 错误: 需要class, interface或enum
for(int c = R[0];c != 0;c = R[c])v[c] = true;
^
0_0_18377726_31802\Main.java:61: 错误: 需要class, interface或enum
for(int c = R[0];c != 0;c = R[c])v[c] = true;
^
0_0_18377726_31802\Main.java:61: 错误: 需要class, interface或enum
for(int c = R[0];c != 0;c = R[c])v[c] = true;
^
0_0_18377726_31802\Main.java:62: 错误: 需要class, interface或enum
for(int c = R[0];c != 0;c = R[c])
^
0_0_18377726_31802\Main.java:62: 错误: 需要class, interface或enum
for(int c = R[0];c != 0;c = R[c])
^
0_0_18377726_31802\Main.java:62: 错误: 需要class, interface或enum
for(int c = R[0];c != 0;c = R[c])
^
0_0_18377726_31802\Main.java:66: 错误: 需要class, interface或enum
v[c] = false;
^
0_0_18377726_31802\Main.java:67: 错误: 需要class, interface或enum
for(int i = D[c];i != c;i = D[i])
^
0_0_18377726_31802\Main.java:67: 错误: 需要class, interface或enum
for(int i = D[c];i != c;i = D[i])
^
0_0_18377726_31802\Main.java:67: 错误: 需要class, interface或enum
for(int i = D[c];i != c;i = D[i])
^
0_0_18377726_31802\Main.java:68: 错误: 需要class, interface或enum
for(int j = R[i];j != i;j = R[j])
^
0_0_18377726_31802\Main.java:68: 错误: 需要class, interface或enum
for(int j = R[i];j != i;j = R[j])
^
0_0_18377726_31802\Main.java:70: 错误: 需要class, interface或enum
}
^
0_0_18377726_31802\Main.java:73: 错误: 需要class, interface或enum
}
^
0_0_18377726_31802\Main.java:77: 错误: 需要class, interface或enum
if(R[0] == 0)return d <= K;
^
0_0_18377726_31802\Main.java:78: 错误: 需要class, interface或enum
int c = R[0];
^
0_0_18377726_31802\Main.java:79: 错误: 需要class, interface或enum
for(int i = R[0];i != 0;i = R[i])
^
0_0_18377726_31802\Main.java:79: 错误: 需要class, interface或enum
for(int i = R[0];i != 0;i = R[i])
^
0_0_18377726_31802\Main.java:79: 错误: 需要class, interface或enum
for(int i = R[0];i != 0;i = R[i])
^
0_0_18377726_31802\Main.java:82: 错误: 需要class, interface或enum
for(int i = D[c];i != c;i = D[i])
^
0_0_18377726_31802\Main.java:82: 错误: 需要class, interface或enum
for(int i = D[c];i != c;i = D[i])
^
0_0_18377726_31802\Main.java:82: 错误: 需要class, interface或enum
for(int i = D[c];i != c;i = D[i])
^
0_0_18377726_31802\Main.java:85: 错误: 需要class, interface或enum
for(int j = R[i];j != i;j = R[j])remove(j);
^
0_0_18377726_31802\Main.java:85: 错误: 需要class, interface或enum
for(int j = R[i];j != i;j = R[j])remove(j);
^
0_0_18377726_31802\Main.java:85: 错误: 需要class, interface或enum
for(int j = R[i];j != i;j = R[j])remove(j);
^
0_0_18377726_31802\Main.java:86: 错误: 需要class, interface或enum
if(Dance(d+1))return true;
^
0_0_18377726_31802\Main.java:87: 错误: 需要class, interface或enum
for(int j = L[i];j != i;j = L[j])resume(j);
^
0_0_18377726_31802\Main.java:87: 错误: 需要class, interface或enum
for(int j = L[i];j != i;j = L[j])resume(j);
^
0_0_18377726_31802\Main.java:87: 错误: 需要class, interface或enum
for(int j = L[i];j != i;j = L[j])resume(j);
^
0_0_18377726_31802\Main.java:88: 错误: 需要class, interface或enum
resume(i);
^
0_0_18377726_31802\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_18377726_31802\Main.java:91: 错误: 需要class, interface或enum
}
^
0_0_18377726_31802\Main.java:93: 错误: 需要class, interface或enum
DLX g;
^
0_0_18377726_31802\Main.java:95: 错误: 需要class, interface或enum
struct Point{
^
0_0_18377726_31802\Main.java:97: 错误: 需要class, interface或enum
void input() {
^
0_0_18377726_31802\Main.java:99: 错误: 需要class, interface或enum
}
^
0_0_18377726_31802\Main.java:102: 错误: 需要class, interface或enum
ll dis(Point &a, Point &b) {
^
0_0_18377726_31802\Main.java:104: 错误: 需要class, interface或enum
}
^
0_0_18377726_31802\Main.java:107: 错误: 需要class, interface或enum
int T; scanf("%d",&T);
^
0_0_18377726_31802\Main.java:107: 错误: 需要class, interface或enum
int T; scanf("%d",&T);
^
0_0_18377726_31802\Main.java:108: 错误: 需要class, interface或enum
while(T--) {
^
0_0_18377726_31802\Main.java:110: 错误: 需要class, interface或enum
for(int i = 1; i <= N; ++i) city[i].input();
^
0_0_18377726_31802\Main.java:110: 错误: 需要class, interface或enum
for(int i = 1; i <= N; ++i) city[i].input();
^
0_0_18377726_31802\Main.java:110: 错误: 需要class, interface或enum
for(int i = 1; i <= N; ++i) city[i].input();
^
0_0_18377726_31802\Main.java:111: 错误: 需要class, interface或enum
ll l = 0; ll r = 1e12; ll ans;
^
0_0_18377726_31802\Main.java:111: 错误: 需要class, interface或enum
ll l = 0; ll r = 1e12; ll ans;
^
0_0_18377726_31802\Main.java:111: 错误: 需要class, interface或enum
|