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

如果wa了,可能是因为读入的原因

Posted by Heart_Blue at 2016-11-08 00:30:12 on Problem 2643
有个n的末尾有个空格

如果你使用getchar()尝试读入行尾的回车,会先读到这个空格

尝试诸如getline之类的吧

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