Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
AC~~~做了好些题都没有AC,1019是前段时间唯一一个AC的题目,虽然大家都说是水题,我还是要高兴一下:)~~主要是数学分析,找出Sk和S1S2S3...Sk的长度公式。 //解法说明: //1.用方法getDigitsOfssk(k)找到长度刚刚小于目标值的ssk. //2.将k值拿到后,计算ssk的长度比目标值小的量m. //3.用方法getDigitsOfsk(k1)找到长度刚刚小于m的sk1. //4.将k1值拿到后,计算sk1的长度比m小的量n. //5.整数k1 + 1中,第n个数字就是结果! Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator