clo.cpp: In function 'int main()':
clo.cpp:44:41: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
dp[i & 1][j] = max(dp[1 - i & 1][j], dp[1 - i & 1][j - obj[i].c] + obj[i].v);
~~^~~
clo.cpp:44:59: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
dp[i & 1][j] = max(dp[1 - i & 1][j], dp[1 - i & 1][j - obj[i].c] + obj[i].v);
~~^~~
clo.cpp:46:37: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
dp[i & 1][j] = dp[1 - i & 1][j];
~~^~~
clo.cpp:48:32: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
FOR(j, 0, 100001) dp[1 - i & 1][j] = INF;
~~^~~
clo.cpp:51:31: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
cout << *max_element(dp[1 - (n + m) & 1], dp[1 - (n + m) & 1] + 100001);
~~^~~~~~~~~
clo.cpp:51:52: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
cout << *max_element(dp[1 - (n + m) & 1], dp[1 - (n + m) & 1] + 100001);
~~^~~~~~~~~