0_0_18149602_19851.cpp:4:8: error: 'N' was not declared in this scope
int a[N], g[N], d[N]; // g[i]用于记录 a[0...i]的最大长度
^
0_0_18149602_19851.cpp:4:14: error: 'N' was not declared in this scope
int a[N], g[N], d[N]; // g[i]用于记录 a[0...i]的最大长度
^
0_0_18149602_19851.cpp:4:20: error: 'N' was not declared in this scope
int a[N], g[N], d[N]; // g[i]用于记录 a[0...i]的最大长度
^
0_0_18149602_19851.cpp: In function 'int main()':
0_0_18149602_19851.cpp:10:16: error: 'd' was not declared in this scope
memset(d,0,sizeof(d));
^
0_0_18149602_19851.cpp:12:44: error: 'a' was not declared in this scope
for( i=0; i < n; ++i )scanf("%d", &a[i]);
^
0_0_18149602_19851.cpp:14:32: error: 'g' was not declared in this scope
for(int i=1; i<=n; i++)g[i]=inf;
^
0_0_18149602_19851.cpp:16:29: error: 'g' was not declared in this scope
int k=lower_bound(g+1, g+n+1, a[i])-g;//在g[1]到g[n]中找
^
0_0_18149602_19851.cpp:16:41: error: 'a' was not declared in this scope
int k=lower_bound(g+1, g+n+1, a[i])-g;//在g[1]到g[n]中找
^
|