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:请仔细读题,理解清楚题目每一句话的意思,你漏掉的意思往往会成为关键

Posted by frkstyc at 2006-03-14 14:52:28 on Problem 1706
In Reply To:Re:请仔细读题,理解清楚题目每一句话的意思,你漏掉的意思往往会成为关键 Posted by:float at 2006-03-14 14:41:52
xf你给我flash一边去!

> char *gets( char *buffer );
> Return Value
> Each of these functions returns its argument if successful. A NULL pointer indicates an error or end-of-file condition.
> 
> istream& getline( char* pch, int nCount, char delim = '\n' );
> 
> 用法:
> while(gets(str))
> {
>    ...
> }
> while(cin.getline(str, 100))
> {
>   ...
> }
> 
> 这个题,空行的判断比较奇特.PE了两次-_-
> 
> 最后,让我们大家一起来鄙视styc吧~~~:)

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