foo.cc: In function ‘int gys(int, int)’:
foo.cc:5:9: warning: variable ‘m’ set but not used [-Wunused-but-set-variable]
5 | int m,n;//m表示商,n表示余数
| ^
foo.cc: In function ‘int main()’:
foo.cc:42:18: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
42 | cout<<x<<" "<<y<<endl;
| ^~~
foo.cc:33:13: note: ‘x’ was declared here
33 | int x,y;
| ^
foo.cc:42:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
42 | cout<<x<<" "<<y<<endl;
| ^
foo.cc:33:15: note: ‘y’ was declared here
33 | int x,y;
| ^