0_0_33262848_4659\Main.java:2: 错误: 非法字符: '#'
#include <iostream>
^
0_0_33262848_4659\Main.java:2: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_33262848_4659\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_33262848_4659\Main.java:4: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_33262848_4659\Main.java:5: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_33262848_4659\Main.java:6: 错误: 非法字符: '#'
#define MAX 450007
^
0_0_33262848_4659\Main.java:8: 错误: 需要class, interface或enum
struct Node {
^
0_0_33262848_4659\Main.java:10: 错误: 需要class, interface或enum
Node() {}
^
0_0_33262848_4659\Main.java:14: 错误: 需要class, interface或enum
Node star[MAX];
^
0_0_33262848_4659\Main.java:15: 错误: 需要class, interface或enum
Node star2[MAX];
^
0_0_33262848_4659\Main.java:16: 错误: 需要class, interface或enum
Node star3[MAX];
^
0_0_33262848_4659\Main.java:17: 错误: 需要class, interface或enum
int tree[MAX];
^
0_0_33262848_4659\Main.java:18: 错误: 需要class, interface或enum
int lowbit ( int x ) {
^
0_0_33262848_4659\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:24: 错误: 需要class, interface或enum
i += lowbit(i);
^
0_0_33262848_4659\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:29: 错误: 需要class, interface或enum
while ( i ) {
^
0_0_33262848_4659\Main.java:31: 错误: 需要class, interface或enum
i -= lowbit ( i );
^
0_0_33262848_4659\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:36: 错误: 需要class, interface或enum
void CDQ2 ( int l , int r ) {
^
0_0_33262848_4659\Main.java:38: 错误: 需要class, interface或enum
int mid = (l+r)/2;
^
0_0_33262848_4659\Main.java:39: 错误: 需要class, interface或enum
CDQ2( l , mid );
^
0_0_33262848_4659\Main.java:40: 错误: 需要class, interface或enum
CDQ2( mid+1 , r );
^
0_0_33262848_4659\Main.java:41: 错误: 需要class, interface或enum
int l1 = l , r1 = mid+1;
^
0_0_33262848_4659\Main.java:42: 错误: 需要class, interface或enum
while ( r1 <= r ) {
^
0_0_33262848_4659\Main.java:45: 错误: 需要class, interface或enum
l1++;
^
0_0_33262848_4659\Main.java:46: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:49: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:54: 错误: 需要class, interface或enum
if ( star2[l1].t == 0 ) add ( star2[l1].z , -1 );
^
0_0_33262848_4659\Main.java:55: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:57: 错误: 需要class, interface或enum
for ( int i = l ; i <= r ; i++ )
^
0_0_33262848_4659\Main.java:57: 错误: 需要class, interface或enum
for ( int i = l ; i <= r ; i++ )
^
0_0_33262848_4659\Main.java:57: 错误: 需要class, interface或enum
for ( int i = l ; i <= r ; i++ )
^
0_0_33262848_4659\Main.java:60: 错误: 需要class, interface或enum
else star3[i] = star2[r1++];
^
0_0_33262848_4659\Main.java:61: 错误: 需要class, interface或enum
for ( int i = l ; i <= r ; i++ )
^
0_0_33262848_4659\Main.java:61: 错误: 需要class, interface或enum
for ( int i = l ; i <= r ; i++ )
^
0_0_33262848_4659\Main.java:61: 错误: 需要class, interface或enum
for ( int i = l ; i <= r ; i++ )
^
0_0_33262848_4659\Main.java:63: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:66: 错误: 需要class, interface或enum
int mid = (l+r)/2;
^
0_0_33262848_4659\Main.java:67: 错误: 需要class, interface或enum
CDQ1(l,mid);
^
0_0_33262848_4659\Main.java:68: 错误: 需要class, interface或enum
CDQ1(mid+1,r);
^
0_0_33262848_4659\Main.java:69: 错误: 需要class, interface或enum
int l1 = l , r1 = mid+1 , n = 0;
^
0_0_33262848_4659\Main.java:70: 错误: 需要class, interface或enum
while ( r1 <= r ) {
^
0_0_33262848_4659\Main.java:72: 错误: 需要class, interface或enum
while ( star[r1].t == 0 && r1 <= r ) r1++;
^
0_0_33262848_4659\Main.java:73: 错误: 需要class, interface或enum
if ( r1 > r ) break;
^
0_0_33262848_4659\Main.java:74: 错误: 需要class, interface或enum
if ( (star[l1].x <= star[r1].x && l1 <= mid ) || r1 > r )
^
0_0_33262848_4659\Main.java:76: 错误: 需要class, interface或enum
else star2[n++] = star[r1++];
^
0_0_33262848_4659\Main.java:77: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:79: 错误: 需要class, interface或enum
l1 = l , r1 = mid+1;
^
0_0_33262848_4659\Main.java:80: 错误: 需要class, interface或enum
for ( int i = l ; i <= r ; i++ ) {
^
0_0_33262848_4659\Main.java:80: 错误: 需要class, interface或enum
for ( int i = l ; i <= r ; i++ ) {
^
0_0_33262848_4659\Main.java:80: 错误: 需要class, interface或enum
for ( int i = l ; i <= r ; i++ ) {
^
0_0_33262848_4659\Main.java:83: 错误: 需要class, interface或enum
else star3[i] = star[r1++];
^
0_0_33262848_4659\Main.java:84: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:85: 错误: 需要class, interface或enum
for ( int i = l ; i <= r ; i++ )
^
0_0_33262848_4659\Main.java:85: 错误: 需要class, interface或enum
for ( int i = l ; i <= r ; i++ )
^
0_0_33262848_4659\Main.java:87: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:90: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:93: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:96: 错误: 需要class, interface或enum
scanf ( "%d" , &t );
^
0_0_33262848_4659\Main.java:97: 错误: 需要class, interface或enum
while ( t-- ) {
^
0_0_33262848_4659\Main.java:99: 错误: 需要class, interface或enum
scanf ( "%d" , &q );
^
0_0_33262848_4659\Main.java:100: 错误: 需要class, interface或enum
while ( q-- ) {
^
0_0_33262848_4659\Main.java:102: 错误: 需要class, interface或enum
if ( a == 1 ) {
^
0_0_33262848_4659\Main.java:104: 错误: 需要class, interface或enum
star[n++] = Node ( x1 , y1 , z1 , n , 0 );
^
0_0_33262848_4659\Main.java:105: 错误: 需要class, interface或enum
} else {
^
0_0_33262848_4659\Main.java:107: 错误: 需要class, interface或enum
star[n++] = Node ( x2 , y2 , z2 , n , 1 );
^
0_0_33262848_4659\Main.java:108: 错误: 需要class, interface或enum
star[n++] = Node ( x2 , y1-1 , z2 , n , -1 );
^
0_0_33262848_4659\Main.java:109: 错误: 需要class, interface或enum
star[n++] = Node ( x1-1 , y2 , z2 , n , -1 );
^
0_0_33262848_4659\Main.java:110: 错误: 需要class, interface或enum
star[n++] = Node ( x2 , y2 , z1-1 , n , -1 );
^
0_0_33262848_4659\Main.java:111: 错误: 需要class, interface或enum
star[n++] = Node ( x1-1 , y1-1 , z2 , n , 1 );
^
0_0_33262848_4659\Main.java:112: 错误: 需要class, interface或enum
star[n++] = Node ( x1-1 , y2 , z1-1 , n , 1 );
^
0_0_33262848_4659\Main.java:113: 错误: 需要class, interface或enum
star[n++] = Node ( x2 , y1-1 , z1-1 , n , 1 );
^
0_0_33262848_4659\Main.java:114: 错误: 需要class, interface或enum
star[n++] = Node ( x1-1 , y1-1 , z1-1 , n , -1 );
^
0_0_33262848_4659\Main.java:115: 错误: 需要class, interface或enum
}
^
0_0_33262848_4659\Main.java:118: 错误: 需要class, interface或enum
sort ( star , star+n , compz );
^
0_0_33262848_4659\Main.java:119: 错误: 需要class, interface或enum
a = 1;
^
0_0_33262848_4659\Main.java:120: 错误: 需要class, interface或enum
star[n].z = -1;
^
0_0_33262848_4659\Main.java:121: 错误: 需要class, interface或enum
for ( int i = 0 ; i < n ; i++ )
^
0_0_33262848_4659\Main.java:121: 错误: 需要class, interface或enum
for ( int i = 0 ; i < n ; i++ )
^
0_0_33262848_4659\Main.java:121: 错误: 需要class, interface或enum
for ( int i = 0 ; i < n ; i++ )
^
0_0_33262848_4659\Main.java:124: 错误: 需要class, interface或enum
else star[i].z = a;
^
0_0_33262848_4659\Main.java:125: 错误: 需要class, interface或enum
sort ( star , star+n , compn );
^
0_0_33262848_4659\Main.java:126: 错误: 需要class, interface或enum
CDQ1(0,n-1);
^
0_0_33262848_4659\Main.java:127: 错误: 需要class, interface或enum
sort ( star , star+n , compn );
^
0_0_33262848_4659\Main.java:128: 错误: 需要class, interface或enum
for ( int i = 0 ; i < n ; i++ ) {
^
0_0_33262848_4659\Main.java:128: 错误: 需要class, interface或enum
for ( int i = 0 ; i < n ; i++ ) {
^
0_0_33262848_4659\Main.java:128: 错误: 需要class, interface或enum
for ( int i = 0 ; i < n ; i++ ) {
^
0_0_33262848_4659\Main.java:131: 错误: 需要class, interface或enum
for ( in
^
91 个错误
|