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 |
Re:一道给初学者的小菜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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator