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

一道水题4次WA的惨痛经历 帮助后来人

Posted by xuchang at 2011-01-21 15:37:39 on Problem 2381
1.a、c、m、r这些都用long表示 单独强制转换有点不靠谱
2.当只产生一个数的时候(即后面的数都等于r0) 此时应该输出0....
数据 1 0  2  1  应该输出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