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:help!!!帮忙看看。为什么运行不了,:)

Posted by kensin2 at 2005-01-24 01:56:36 on Problem 1207
In Reply To:help!!!帮忙看看。为什么运行不了,:) Posted by:gxiverson at 2004-12-22 09:41:16
问题的关键是temp=a;a=b;b=temp;这使得a,b的顺序颠倒.
cout<<a<<' '<<b<<' '<<max<<endl;
这一语句就不能实现你的要求了

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