有换行符。
by LinAPro @ 2018-11-22 23:30:27
@[silenceabu](/space/show?uid=68163)
意思是标题有多行的可能?
by sakai @ 2018-11-22 23:33:44
嗯
by LinAPro @ 2018-11-22 23:40:03
@[sakai](/space/show?uid=150299)
并且gets有毒
by resftlmuttmotw @ 2018-11-23 00:04:07
空格并不计算在内。
by a_Teddy080818 @ 2018-12-11 17:57:30
@[resftlmuttmotw](/space/show?uid=73992) gets没问题(考试用gets这题满分)
by Yoo_ @ 2019-01-31 20:18:09
@[我的智商贼低](/space/show?uid=114677)
哈~
那还真是让人不敢相信
by resftlmuttmotw @ 2019-01-31 20:36:05
@[sakai](/space/show?uid=150299) 虽然看你A了,但是还要解释一下
不是有多行的可能,是就一行,要不算换行符和空格看有多长
by Yoo_ @ 2019-01-31 20:39:44
```cpp
#include<bits/stdc++.h>
int main(){
string a;
getline(cin,a);
printf("%d",a.length());
}
```
by ZY_2007 @ 2019-02-02 14:24:31
不要看上面的了,那个是有问题的。
by ZY_2007 @ 2019-02-02 14:30:41