watching.cpp: In function 'bool solve(long long int, long long int, long long int, long long int)':
watching.cpp:37:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
return dp[i][p][q] = small || big;
^
watching.cpp: In function 'long long int prox(long long int, long long int)':
watching.cpp:24:16: warning: 'best' may be used uninitialized in this function [-Wmaybe-uninitialized]
return best + 1;
^
watching.cpp: In function 'bool solve(long long int, long long int, long long int, long long int)':
watching.cpp:24:16: warning: 'best' may be used uninitialized in this function [-Wmaybe-uninitialized]
watching.cpp:13:29: note: 'best' was declared here
int ini = i, fim = n, mid, best;
^
watching.cpp:24:16: warning: 'best' may be used uninitialized in this function [-Wmaybe-uninitialized]
return best + 1;
^
watching.cpp:13:29: note: 'best' was declared here
int ini = i, fim = n, mid, best;
^