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 sanpin at 2007-07-18 14:33:14 on Problem 2521
In Reply To:是不是做错了?这么做?竟然过了! Posted by:hhhh at 2005-08-16 09:58:32
> #include<iostream.h>
> int main(void)
> {
>     int N,M,P,C;
>     while(cin>>N>>M>>P>>C)
>     {
>         if(N==0 && M==0 && P==0 && C==0)break;
>         cout<<-(M-N-P)<<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