sequence.cpp:1:37: warning: bad option '-f fast-math' to pragma 'optimize' [-Wpragmas]
#pragma GCC optimize("O3, fast-math")
^
sequence.cpp:5:46: warning: bad option '-f fast-math' to attribute 'optimize' [-Wattributes]
template<class T> bool ckmax(T& a, const T& b) { return a < b ? a = b, 1 : 0; }
^
sequence.cpp:11:13: warning: bad option '-f fast-math' to attribute 'optimize' [-Wattributes]
signed main() {
^
sequence.cpp: In function 'int main()':
sequence.cpp:18:21: warning: bad option '-f fast-math' to attribute 'optimize' [-Wattributes]
auto c = [&](int j) { return f[(l & 1) ^ 1][j] - a[j] * a[j]; };
^
sequence.cpp:19:30: warning: bad option '-f fast-math' to attribute 'optimize' [-Wattributes]
auto val = [&](int j, int x) { return a[j] * x + c(j); };
^
sequence.cpp:20:39: warning: bad option '-f fast-math' to attribute 'optimize' [-Wattributes]
auto cross = [&](int i, int j, int k) {
^
sequence.cpp:35:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for (int v = n, l = k; v = opt[l--][v]; ) s[l] = v;
~~^~~~~~~~~~~~~