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:有没有更简单的方法?

Posted by winter at 2004-11-22 19:31:53 on Problem 1004
In Reply To:Re:有没有更简单的方法? Posted by:90401529 at 2004-11-10 09:29:40
 #include<iostream.h>
 #include <stdio.h>
 void main() {
  double sum=0.0;
  double k;
  for(int i=0;i<12;i++) {
  cin>>k;
  sum+=k;
  }
  sum/=12;
  cout<<"$"<<sum<<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