题目链接:http://poj.org/problem?id=1005
Source Code
Problem: | User: | |
Memory: 252K | Time: 0MS | |
Language: C++ | Result: Accepted |
-
- Source Code
#include#include using namespace std;int main(int argc, const char * argv[]){ int account; cin>>account; float a,b; int year; for(int i=0;i >a>>b; year=(a*a+b*b)*3.14/100+1; cout<<"Property "< <<": This property will begin eroding in year "< <<"."<