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

WA 和 RE的问题

Posted by hx7963 at 2016-04-08 19:21:35 on Problem 3641
WA可能是将费马定理变成欧拉定理了,即判定条件变成a^(p-1) ?= 1这里(a,p) 不一定等于1,转换是错误的。。作死
RE可能是使用Miller_Rabin时用了srand()..醉了.

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