0_0_15882811_2687.cpp: In function 'void n_solution()':
0_0_15882811_2687.cpp:20:27: error: 'infl' was not declared in this scope
ans1[0] = ans2[n + 1] = -infl;
^
0_0_15882811_2687.cpp:22:39: error: 'max' was not declared in this scope
dp1[i] = max(a[i], dp1[i - 1] + a[i]);
^
0_0_15882811_2687.cpp:22:39: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_15882811_2687.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3454:5: note: 'std::max'
max(initializer_list<_Tp> __l, _Compare __comp)
^
0_0_15882811_2687.cpp:26:39: error: 'max' was not declared in this scope
dp2[i] = max(a[i], dp2[i + 1] + a[i]);
^
0_0_15882811_2687.cpp:26:39: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_15882811_2687.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3454:5: note: 'std::max'
max(initializer_list<_Tp> __l, _Compare __comp)
^
0_0_15882811_2687.cpp:29:12: error: 'inf' was not declared in this scope
ll ans = -inf;
^
0_0_15882811_2687.cpp:31:33: error: 'max' was not declared in this scope
ll ret = max(p, p + dp1[i - 1]) + max(p, p + dp2[i + 1]) - p;
^
0_0_15882811_2687.cpp:31:33: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_15882811_2687.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3454:5: note: 'std::max'
max(initializer_list<_Tp> __l, _Compare __comp)
^
0_0_15882811_2687.cpp:32:47: error: 'cmax' was not declared in this scope
cmax(ans, max(ret, ans1[i - 1], ans2[i + 1]));
^
0_0_15882811_2687.cpp:34:8: error: 'WR' was not declared in this scope
WR(ans);
^
0_0_15882811_2687.cpp: In function 'int main()':
0_0_15882811_2687.cpp:5:30: error: expected ';' before 'while'
#define rush() int T; RDB(T) while(T--)
^
0_0_15882811_2687.cpp:37:2: note: in expansion of macro 'rush'
rush() {
^
|