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 zhu_shui1989 at 2009-08-17 14:17:56 on Problem 2583
#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:
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