首页
科技
登录
6mi
u
盘
搜
搜 索
科技
c++ 快速输出 快写 int类型
c++ 快速输出 快写 int类型
科技
2022-09-05
112
inline
void
write
(
int
x
)
{
if
(
x
>
9
)
write
(
x
/
10
)
;
putchar
(
x
%
10
+
'0'
)
;
}
思路:递归,分解,用putchar以字符的方式输出,达到“快速” 谢谢阅读
转载请注明原文地址:https://blackberry.8miu.com/read-18645.html
最新回复
(
0
)