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

while是在执行前判断的

Posted by hawk at 2004-03-03 01:14:45 on Problem 1207
In Reply To:Re:不懂,while是怎么判断的,请教师兄 Posted by:faononl at 2004-03-02 22:30:46
所以你第一种写法,放在里面读的时候,最后一次的时候,cin已经失败了
但是while还是要做完这次循环,所以就多做了一次,明白?

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