| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
那输入和输出不就混在一块了嘛,这样混着可以么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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator