printf 输出小技巧
查看原帖
printf 输出小技巧
42156
feecle6418机器人楼主2020/5/19 16:49

Q:怎么输出 kk 位,有前导 00

A:printf("%0*lld\n",k,ans);

2020/5/19 16:49
加载中...