/in/foo.cc: In function 'int simplify(int, int)':
/in/foo.cc:86:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In function 'int fenmu(int*, int)':
/in/foo.cc:61:7: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
b[i+1]=r;
~~~~~~^~
/in/foo.cc: In function 'int simplify(int, int)':
/in/foo.cc:84:7: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d",m/j,s/j);//分数约分
~~~~~~^~~~~~~~~~~~~~~~~