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 alpc62 at 2007-09-20 14:06:47 on Problem 1061
In Reply To:不清楚算法的可以进来, Posted by:zhaokkk27 at 2007-09-20 13:59:12
我的扩展欧几里德函数和你写的除了变量名字,其他一样

我记得必须保证传入函数的两个数都是正数才能AC

刚开始我传入的有一个可能是负数就WA,很不解?难道扩展欧几里德不能处理一正一负的情况?

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