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

那也是你测试的那个程序的写法有问题

Posted by hawk at 2006-04-15 10:08:57
In Reply To:是我自己搭POJ 1.0的时候遇到过的问题。 Posted by:Judas at 2006-04-15 09:55:34
关于这方面,那个版本和现在的poj是没有变化的
比如现在有的数据最后没有回车,你非要读到回车"\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