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

太失败了,竟然有类似"1 Hello Bob"即以空格开头的数据

Posted by stupidmxx at 2007-05-16 23:12:59 on Problem 1026
用了scanf(" %d ");gets(buf);这样的方式输入,原意想只忽略一个空格的,但是忘记这样会忽略掉所有的空格,结果弄了一个钟头的wa

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