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 shisanchen at 2007-08-14 20:37:31 on Problem 2521
如题,通过example测试正确的代码段
      if (p>m)
	lost=n+c;
      else
	lost=n+p-m;
      竟然是WA

而单独用
        lost=n+p-m;
        竟然过了!

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