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 liangkangqi at 2006-11-05 14:02:49 on Problem 2871
In Reply To:大家帮忙看看啊 我到底错在哪??急~~ Posted by:xtu6418 at 2006-09-11 15:08:07
> #include<iostream>
> using namespace std;
> int main()
> {long  double a1,a2;
> cin>>a1;
> while(1)
> {cin>>a2;
> if(a2==999)
> break;
> else
> {if((a2-a1)!=0)~~~~~~~~~~~~~~~~~~~~~把这句话注释掉
> printf("%.2f\n",a2-a1);
> }
> a1=a2;
> }
> cout<<"End of Output"<<endl;
> 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