Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:数据好BT,用getchar的注意下In Reply To:数据好BT,用getchar的注意下 Posted by:csulk at 2010-07-28 10:24:27 > 我直接用getchar获取数据,开始一直WA。 > 后来仔细想了一下,有可能是数据之间存在多个空格的情况存在,就处理了一下,之后AC。 > 另外用scanf读入字符串后atoi更方便。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator