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:help~

Posted by cangratul at 2007-05-08 10:07:44 on Problem 2984
In Reply To:help~ Posted by:cangratul at 2007-04-28 19:16:15
晕,明白了
for(q=i=0;ans[i]!=0||q!=0;i++)
{
	ans[i]<<=33;
         ans[i]+=q;
	q=ans[i]/1000000000;
	ans[i]%=1000000000;;
}这样就行了,我真是傻透了

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