warning:'b'may be used uninitialized in this function 出现这个的原因是因为‘b’没有初始化 如:int b=1; 就能解除警告(可以把你觉得对的一个数赋值给b)