0_0_16775485_24156\Main.java:1: 错误: 非法字符: '#'
#define _CRT_SECURE_NO_WARNINGS
^
0_0_16775485_24156\Main.java:2: 错误: 非法字符: '#'
#include<iostream>
^
0_0_16775485_24156\Main.java:3: 错误: 非法字符: '#'
#include<string>
^
0_0_16775485_24156\Main.java:4: 错误: 非法字符: '#'
#include<string.h>
^
0_0_16775485_24156\Main.java:5: 错误: 非法字符: '#'
#include<vector>
^
0_0_16775485_24156\Main.java:7: 错误: 非法字符: '#'
#define left pos<<1
^
0_0_16775485_24156\Main.java:7: 错误: 需要class, interface或enum
#define left pos<<1
^
0_0_16775485_24156\Main.java:8: 错误: 非法字符: '#'
#define right pos<<1|1
^
0_0_16775485_24156\Main.java:10: 错误: 需要class, interface或enum
int n, m;
^
0_0_16775485_24156\Main.java:11: 错误: 需要class, interface或enum
int val[maxn];
^
0_0_16775485_24156\Main.java:12: 错误: 需要class, interface或enum
struct Node
^
0_0_16775485_24156\Main.java:15: 错误: 需要class, interface或enum
int r;
^
0_0_16775485_24156\Main.java:16: 错误: 需要class, interface或enum
int mx;//最大连续上升子序列
^
0_0_16775485_24156\Main.java:17: 错误: 需要class, interface或enum
int lmx;//左端点开始向内上升的连续序列
^
0_0_16775485_24156\Main.java:18: 错误: 需要class, interface或enum
int rmx;//右端点开始向内下降的连续序列
^
0_0_16775485_24156\Main.java:19: 错误: 需要class, interface或enum
int lval;//左端点的值
^
0_0_16775485_24156\Main.java:20: 错误: 需要class, interface或enum
int rval;//右端点的值
^
0_0_16775485_24156\Main.java:21: 错误: 需要class, interface或enum
}tree[maxn << 2];
^
0_0_16775485_24156\Main.java:22: 错误: 需要class, interface或enum
int max(int a, int b)
^
0_0_16775485_24156\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:33: 错误: 需要class, interface或enum
tree[pos].rmx = tree[right].rmx;
^
0_0_16775485_24156\Main.java:34: 错误: 需要class, interface或enum
tree[pos].mx = max(tree[left].mx, tree[right].mx);
^
0_0_16775485_24156\Main.java:35: 错误: 需要class, interface或enum
tree[pos].lval = tree[left].lval;
^
0_0_16775485_24156\Main.java:36: 错误: 需要class, interface或enum
tree[pos].rval = tree[right].rval;
^
0_0_16775485_24156\Main.java:37: 错误: 需要class, interface或enum
if (tree[left].rval < tree[right].lval)
^
0_0_16775485_24156\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:45: 错误: 需要class, interface或enum
tree[pos].mx = max(tree[pos].mx, tree[left].rmx + tree[right].lmx);//中间连续升序
^
0_0_16775485_24156\Main.java:46: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:52: 错误: 需要class, interface或enum
tree[pos].r = r;
^
0_0_16775485_24156\Main.java:53: 错误: 需要class, interface或enum
if (l == r)
^
0_0_16775485_24156\Main.java:56: 错误: 需要class, interface或enum
tree[pos].mx = tree[pos].lmx = tree[pos].rmx = 1;
^
0_0_16775485_24156\Main.java:57: 错误: 需要class, interface或enum
return;
^
0_0_16775485_24156\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:60: 错误: 需要class, interface或enum
build(left, l, mid);//左树
^
0_0_16775485_24156\Main.java:61: 错误: 需要class, interface或enum
build(right, mid + 1, r);//右树
^
0_0_16775485_24156\Main.java:62: 错误: 需要class, interface或enum
pushup(pos);
^
0_0_16775485_24156\Main.java:63: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:69: 错误: 需要class, interface或enum
return;
^
0_0_16775485_24156\Main.java:70: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:72: 错误: 需要class, interface或enum
if (id <= mid)
^
0_0_16775485_24156\Main.java:74: 错误: 需要class, interface或enum
else
^
0_0_16775485_24156\Main.java:76: 错误: 需要class, interface或enum
pushup(pos);
^
0_0_16775485_24156\Main.java:77: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:82: 错误: 需要class, interface或enum
else
^
0_0_16775485_24156\Main.java:85: 错误: 需要class, interface或enum
int res;
^
0_0_16775485_24156\Main.java:86: 错误: 需要class, interface或enum
if (r <= mid)
^
0_0_16775485_24156\Main.java:88: 错误: 需要class, interface或enum
else if (l > mid)
^
0_0_16775485_24156\Main.java:90: 错误: 需要class, interface或enum
else
^
0_0_16775485_24156\Main.java:93: 错误: 需要class, interface或enum
res = max(mx1, mx2);
^
0_0_16775485_24156\Main.java:94: 错误: 需要class, interface或enum
int t1 = 0, t2 = 0;
^
0_0_16775485_24156\Main.java:95: 错误: 需要class, interface或enum
if (tree[left].rval<tree[right].lval)
^
0_0_16775485_24156\Main.java:98: 错误: 需要class, interface或enum
t2 = min(r - mid, tree[right].lmx);
^
0_0_16775485_24156\Main.java:99: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:101: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:103: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:108: 错误: 需要class, interface或enum
scanf("%d", &t);
^
0_0_16775485_24156\Main.java:109: 错误: 需要class, interface或enum
while (t--)
^
0_0_16775485_24156\Main.java:112: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++)
^
0_0_16775485_24156\Main.java:112: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++)
^
0_0_16775485_24156\Main.java:112: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++)
^
0_0_16775485_24156\Main.java:115: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:117: 错误: 需要class, interface或enum
char o[10];
^
0_0_16775485_24156\Main.java:118: 错误: 需要class, interface或enum
int a, b;
^
0_0_16775485_24156\Main.java:119: 错误: 需要class, interface或enum
for (int i = 0; i < m; i++)
^
0_0_16775485_24156\Main.java:119: 错误: 需要class, interface或enum
for (int i = 0; i < m; i++)
^
0_0_16775485_24156\Main.java:119: 错误: 需要class, interface或enum
for (int i = 0; i < m; i++)
^
0_0_16775485_24156\Main.java:122: 错误: 需要class, interface或enum
scanf("%d%d", &a, &b);
^
0_0_16775485_24156\Main.java:123: 错误: 需要class, interface或enum
if (o[0] == 'U')
^
0_0_16775485_24156\Main.java:126: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:130: 错误: 需要class, interface或enum
}
^
0_0_16775485_24156\Main.java:134: 错误: 需要class, interface或enum
}
^
73 个错误
|