/in/foo.cc: In function 'int main()':
/in/foo.cc:69:102: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (fcmp(fabs(resp - phi), fabs(ansp - phi)) < 0 || fcmp(fabs(ansp - phi), fabs(resp - phi)) == 0 && res < ans1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:23:33: warning: iteration 100009 invokes undefined behavior [-Waggressive-loop-optimizations]
repu(i, 1, 100010) wingcnt[i] = 0;
~~~~~~~~~~~^~~
/in/foo.cc:5:41: note: within this loop
#define repu(i, x, y) for (int i = x; i <= y; i++)
/in/foo.cc:23:8:
repu(i, 1, 100010) wingcnt[i] = 0;
~~~~~~~
/in/foo.cc:23:3: note: in expansion of macro 'repu'
repu(i, 1, 100010) wingcnt[i] = 0;
^~~~