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

我今天水啊水,别淹死我了 function attached

Posted by ACM_Hohai at 2008-11-04 18:37:03 on Problem 2390
#include<iostream>
#include<math.h>

using namespace std;

int main()
{
    int r,m,y;
    while(cin>>r>>m>>y) {
        cout<<int(m*pow((1+0.01*r),y))<<endl;
    }
    return 1;
}

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