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 ct314171238 at 2009-05-21 11:30:50 on Problem 1047
如果相乘之后的数据长度小于输入的数据长度的话,那么相乘之后的数据应该用前导0补足.
所以才会出现
0000 is cyclic
1111 is not cyclic
不过这样确实是让人有点费解啊.

多谢yellowflying提供的数据

142857
0588235294117647
052631578947368421
0434782608695652173913
0344827586206896551724137931
0212765957446808510638297872340425531914893617
0169491525423728813559322033898305084745762711864406779661
016393442622950819672131147540983606557377049180327868852459
01
758241
0588235294117646
152631578947368421
04347826086956521739130
034482758620689655172413793
0212765957446808501638297872340425531914893617
0169491525423728813559322033898305084745762711864406779666
485767305968737584736478947631110239847564719283674623819109
999999999999999999999999999999999999999999999999999999999999

142857 is cyclic
0588235294117647 is cyclic
052631578947368421 is cyclic
0434782608695652173913 is cyclic
0344827586206896551724137931 is cyclic
0212765957446808510638297872340425531914893617 is cyclic
0169491525423728813559322033898305084745762711864406779661 is cyclic
016393442622950819672131147540983606557377049180327868852459 is cyclic
01 is not cyclic
758241 is not cyclic
0588235294117646 is not cyclic
152631578947368421 is not cyclic
04347826086956521739130 is not cyclic
034482758620689655172413793 is not cyclic
0212765957446808501638297872340425531914893617 is not cyclic
0169491525423728813559322033898305084745762711864406779666 is not cyclic
485767305968737584736478947631110239847564719283674623819109 is not cyclic
999999999999999999999999999999999999999999999999999999999999 is not cyclic

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