foo.cc: In function 'int main()':
foo.cc:54:17: warning: 'z' may be used uninitialized [-Wmaybe-uninitialized]
54 | cout << z << m;
| ^
foo.cc:6:41: note: 'z' was declared here
6 | int x, y, max, min, c, m, a, b, z, i, n;
| ^
foo.cc:54:22: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
54 | cout << z << m;
| ^
foo.cc:6:32: note: 'm' was declared here
6 | int x, y, max, min, c, m, a, b, z, i, n;
| ^
foo.cc:31:19: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
31 | m = (x * y) / c;
| ~~^~~~~~~~~~~~~
foo.cc:6:29: note: 'c' was declared here
6 | int x, y, max, min, c, m, a, b, z, i, n;
| ^
[Hydro](https://hydro.ac)提供评测服务