首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
含有空格字符串的输入输出
含有空格字符串的输入输出
mac
2026-03-30
5
输入输出含有空格的字符串 代码:
#
include
<stdio.h>
#
include
<string.h>
#
include
<algorithm>
using
namespace
std
;
int
main
(
)
{
char
a
[
1010
]
;
scanf
(
"%[^\n]"
,
a
)
;
printf
(
"%s\n"
,
a
)
;
return
0
;
}
转载请注明原文地址: https://mac.8miu.com/read-512661.html
最新回复
(
0
)