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:为什么会runtime error?

Posted by liuweigao at 2006-11-22 00:56:28 on Problem 1004
In Reply To:为什么会runtime error? Posted by:hide1713 at 2006-07-02 23:25:03
> #include<iostream>
> using namespace std;
> int main()
> {
> 	double sun[11];
> 	double o=0;
> 	for(int i=0;i<12;i++)
> 	{
> 		cin>>sun[i];
> 		o+=sun[i];
> 	}
> 	cout<<"$"<<o/12<<endl;
> 	cin>>o;
> 		return 0;
> }
> 
> //不理解为什么贴上去不能运行,在我机器上能运行啊,我用的是v c++ 2005 express

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