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 speedfirst at 2005-08-12 11:34:01
In Reply To:做完一个就输出一个,不需要保存 Posted by:hawk at 2005-08-12 11:27:50
例如
#include <iostream>
using namespace std;


int main()
{
	int i, n;
	for(i = 1; i < 5; i++)
	{
		cin>>n;
                  //do something to change n
		cout<<n;
	}

	return 0;
}

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