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 z286989429 at 2010-12-21 14:27:21 on Problem 1005
#include <stdio.h>
#define pi 3.141592653 
int main()
{
  float x;
   float y;
  int n,m;
   scanf("%f",&n);
    m=1;
   while(m++<=n)
  {
       scanf("%f%f",&x,&y);
       for(int i=0;x*x+y*y>100*i/pi;i++);
       printf("Property %d: This property will begin eroding in year %d.
\n",i,m-1);
}
  printf("END OF OUTPUT.");
   return 0;
}
             不对?编译错误?

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