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:一道给初学者的小菜

Posted by yudaer at 2009-12-17 21:50:20 on Problem 2583
In Reply To:一道给初学者的小菜 Posted by:zjp at 2009-08-18 13:25:18
#include<iostream>
using namespace std;
int main()
{
	int a1,a2,a3;
	while(cin>>a1>>a2>>a3)
	{
		cout<<a1-3*a2+3*a3<<' '<<3*a1-8*a2+6*a3<<' '<<6*a1-15*a2+10*a3<<endl;
	}
	system("pause");
	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