F.A.Qs Home ProblemSet Status Ranklist Contest LoginRegister
Notice:1:五月份月赛定于5.27日12:30--17:30,欢迎大家来玩! 2:关于OJ的注册可看https://www.lydsy.com/JudgeOnline/wttl/thread.php?tid=5671
大视野在线测评-欢迎您
[ 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;
}
。。。
}
[Top] [Previous Page] [Next Page]

HOME Back