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

scanf中间不要有空格

Posted by liuweni at 2007-11-19 17:21:50 on Problem 1458 and last updated at 2007-11-19 17:22:01
In Reply To:用scanf就超时,换成cin就过了,有人知道这是为什么吗 ? Posted by:fisher_lei at 2007-11-19 13:40:18
scanf("%s%s",str1,str2);

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