| ||||||||||
| 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 | |||||||||
各位大哥,我这个哪里错了了#include <cstdlib>
#include <iostream>
#include <sstream>
using namespace std;
int main()
{
string a;
int b,c;
int m,n,q;
for(;;)
{
cin>>a>>b>>c;
if(a==' ')
{system("PAUSE");
return EXIT_SUCCESS;}
else
{m=3*c-3*b+a;
n=6*c-8*b+3*a;
q=10*c-15*b+6*a;
cout<<m<<' '<<n<<' '<<q<<endl;
}
}
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator