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

帮看一下:我的precentatiao哪里有问题

Posted by hangsailor at 2006-10-16 20:13:44 on Problem 1005
#include<iostream>

using namespace std;

void main()
{
 int a;
 cin>>a;
 cout<<endl;
 for(int i=1;i<=a;i++)
 {
	 float x,y;
	 cin>>x>>y;
     int year=int(3.1415926*(x*x+y*y)/100)+1;
	 cout<<"Property "<<i<<": This property will begin eroding in year "<<year<<".\n";
 }
 cout<<"END OF OUTPUT."<<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