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:那位牛人能帮我看看这题错在哪了,总是wrong answer呀!快疯了!!!

Posted by yxhd1990 at 2011-04-17 22:19:12 on Problem 1004
In Reply To:Re:那位牛人能帮我看看这题错在哪了,总是wrong answer呀!快疯了!!! Posted by:kejie1235 at 2011-04-17 15:11:38
>#include <stdio.h>
> int main()
> {
>     double a[12];int i;
>     for(i=0;i<12;i++)
>       scanf("%lf",&a[i]);
>     double t=0.0;
>     for(i=0;i<12;i++)
>     {
>     t+=a[i];
>     }
>     printf("$.2%lf\n",t/12);
>     return 0;
> }


输入 输出 格式  %lf

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