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:为什么Output Limit Exceeded?(这段是1298的代码)

Posted by nullptr at 2017-02-01 15:15:57 on Problem 3749
In Reply To:为什么Output Limit Exceeded?(这段是1298的代码) Posted by:nullptr at 2017-02-01 15:11:05
已AC!循环要这样写:
while (strcmp(str,"ENDOFINPUT")&&strcmp(str,"ENDOFINPUT\n"))
或:
while (strcmp(str,"ENDOFINPUT\n"))
估计是因为输入文件结尾是个空行!

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