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-10-12 17:59:49 on Problem 1207
In Reply To:Re:过了,但是不知道为什么。为什么把cin>>a>>b;拿到外面来下面再写一次就行?如下 Posted by:00348228 at 2004-10-12 17:18:37
> 这样也可以过吗?原题不是说:"The integers i and j must appear in the output in the same order in which they appeared in the input ........",像这样把ab换位再输出没关系吗?

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