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

Re:菜鸟求问:怎么会出现演示错误呀presentation error急呀!!!

Posted by sdau_09_lsp at 2011-03-13 15:19:10 on Problem 1005
In Reply To:菜鸟求问:怎么会出现演示错误呀presentation error急呀!!! Posted by:2008550115 at 2010-04-02 00:13:50
> #include<stdio.h>
> #include<math.h>
> #define pi acos(-1)
> 
> int main()
> {
>     int n,i;
>     float x,y;
>     double area;
>     
>     scanf("%d",&n);
>     for(i=1;i<=n;i++)
>     {
>               scanf("%f %f",&x,&y);
>               area=pi*(x*x+y*y);
>               printf("Property %d:This property will begin eroding in year%d.\n",i,(int)area/100+1);
>     }
>     printf("END OF OUTPUT.\n");
>     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