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 goodpeter at 2007-08-19 16:32:56 on Problem 2243
看这两个区别
while(cin>>a>>b)
{
     .........
}

while(1)
{
    cin>>a>>b
}

第一种在什么情况下会跳出循环,假如不在循环体内设置条件的话。

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