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 wuyiming at 2010-04-25 21:36:08
#include <stdio.h>

int main()
{
  double a[4];
  double sum=0;
  int i;
	for(i=0;i<4;i++)
	   {	if(a[i]!='$')
			scanf("%f\n",&a[i]);
			break;
       }			
   		
	for(i=0;i<4;i++)
		sum+=a[i];
	printf("%.15f\n",sum);
	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