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 bushiniao at 2006-11-02 15:48:41 on Problem 2390
#include <iostream.h>
#include <math.h>
void main()
{
	int year,money,interest;
	cin>>interest>>money>>year;
	cout<<(int)( (double)money * pow((double)interest/100+1,year) );
}

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