foo.cc: In function 'int FindMaxNeg(Node*)':
foo.cc:36:16: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized]
36 | return max;
| ^~~
foo.cc:28:13: note: 'max' was declared here
28 | int max;
| ^~~
foo.cc: In function 'int main()':
foo.cc:48:15: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized]
48 | printf("%d %d\n",a,b);
| ~~~~~~^~~~~~~~~~~~~~~
foo.cc:28:13: note: 'max' was declared here
28 | int max;
| ^~~
foo.cc:48:15: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized]
48 | printf("%d %d\n",a,b);
| ~~~~~~^~~~~~~~~~~~~~~
foo.cc:28:13: note: 'max' was declared here
28 | int max;
| ^~~
[Hydro](https://hydro.ac)提供评测服务