printf("%02d",a);//共2位,位数不够左边用零补
OJ:格式控制
猜你喜欢
转载自blog.csdn.net/guomengkai/article/details/86746462
今日推荐
周排行