0_0_15469909_14139.cpp: In function 'int main(int, const char**)':
0_0_15469909_14139.cpp:4:18: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_15469909_14139.cpp:11:25: error: 'front_arr' was not declared in this scope
scanf("%d",&front_arr[i]);
^
0_0_15469909_14139.cpp:12:13: error: 'back_arr' was not declared in this scope
back_arr[i] = -front_arr[i];
^
0_0_15469909_14139.cpp:15:21: error: 'puts' was not declared in this scope
puts("0"); continue;
^
0_0_15469909_14139.cpp:17:16: error: 'LIS' was not declared in this scope
memset(LIS, 0x7f, sizeof(LIS));
^
0_0_15469909_14139.cpp:17:38: error: 'memset' was not declared in this scope
memset(LIS, 0x7f, sizeof(LIS));
^
0_0_15469909_14139.cpp:20:49: error: 'back_arr' was not declared in this scope
int pos = lower_bound(LIS, LIS + N, back_arr[i]) - LIS + 1;
^
0_0_15469909_14139.cpp:20:60: error: 'lower_bound' was not declared in this scope
int pos = lower_bound(LIS, LIS + N, back_arr[i]) - LIS + 1;
^
0_0_15469909_14139.cpp:21:13: error: 'back_len' was not declared in this scope
back_len[i] = pos;
^
0_0_15469909_14139.cpp:28:49: error: 'front_arr' was not declared in this scope
int pos = lower_bound(LIS, LIS + N, front_arr[i]) - (LIS);
^
0_0_15469909_14139.cpp:28:61: error: 'lower_bound' was not declared in this scope
int pos = lower_bound(LIS, LIS + N, front_arr[i]) - (LIS);
^
0_0_15469909_14139.cpp:29:28: error: 'back_len' was not declared in this scope
ans = max(ans, back_len[i] + pos);
^
0_0_15469909_14139.cpp:29:45: error: 'max' was not declared in this scope
ans = max(ans, back_len[i] + pos);
^
0_0_15469909_14139.cpp:34:52: error: 'max' was not declared in this scope
printf("Case #%d: %d\n",++ cas, max(ans, mx));
^
0_0_15469909_14139.cpp:34:53: error: 'printf' was not declared in this scope
printf("Case #%d: %d\n",++ cas, max(ans, mx));
^
|