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

谢谢哈.应该好多人不知道吧???顺便说一下linux下用gets(s)读到的串是包含回车的,各位参加比赛的兄弟要注意啦.

Posted by cannie at 2005-10-19 12:32:37 on Problem 2514
In Reply To:linux下%lld ok Posted by:frkstyc at 2005-10-19 12:28:04
windows的回车是00 **
而linux是**

strlen是以00结尾所以windows下用strlen求出是不包含回车的.

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