ACM試題Problem K:Ones
Description
Given any integer 0 <= n <= 10000 not divisible by 2 or 5, some multiple of n is a number which in decimal notation is a sequence of 1 s. How many digits are in the smallest such a multiple of n?
Addison.Wesley-C++.Network.Programming,.Volume.2,.Systematic.Reuse.with.ACE.and.FrameworksWrite by Douglas C.Schmidt,Stephen D.Huston經(jīng)典作品,英文版,網(wǎng)站上沒有.
MULTIDIMENSIONAL SCALING in matlab by Mark Steyvers 1999
%needs optimization toolbox
%Modified by Bruce Land
%--Data via globals to anaylsis programs
%--3D plotting with color coded groups
%--Mapping of MDS space to spike train temporal profiles as described in
%Aronov, et.al. "Neural coding of spatial phase in V1 of the Macaque" in
%press J. Neurophysiology