Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:数据好BT,用getchar的注意下

Posted by asdf1229 at 2018-02-03 19:16:00 on Problem 1502
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator