F.A.Qs Home ProblemSet Status Ranklist Contest LoginRegister
大视野在线测评-欢迎您
[ New Thread ]
Problem 1174 >> 很坑的输入
2016gdgzoi471 @ 2018-01-14 21:29:34
[ Quote ] [ Edit ] [ Delete ] 1#
感觉输入很坑,WA了好久QAQ
要这样读:
while(gets(s)){
if(strlen(s)==0){
continue;
}
if(s[0]=='\n'){
continue;
}
。。。
}
404_notfound @ 2019-07-24 21:09:02
[ Quote ] [ Edit ] [ Delete ] 2#
感谢巨佬!!
[Top] [Previous Page] [Next Page]

HOME Back