文件名称:multiple-of-five
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2016-12-23
- 文件大小:
- 2.33mb
- 下载次数:
- 0次
- 提 供 者:
- 邵**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
现在有个很长的字符串s,其中的所有字符都是 0 到 9 。它表示了一个很大的数字。你想知道该字符串的多少个不同的子序列是五的倍数。一个字符串的子序列被定义为从中任意去掉一些元素后剩下的部分。要求的子序列可以有先导0,但是不可以是为空。因为结果可能很大,你只需要输出答案对 1000000007(10^9+7) 取余数的结果就可以。-Now there is a very long string s, in which all characters are ' 0' to ' 9' . It represents a very large number. You want to know how many different sequences of the string is a multiple of five. A sub-sequence is defined as a string to remove some elements any of the rest. Sequences required for the pilot may have 0, but can not be empty. Because the results can be very large, you only need to output the answer to 1000000007 (10 ^ 9+7) take the remainder of the results can be.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
五的倍数\.vs\五的倍数\v14\.suo
........\Debug\五的倍数.exe
........\.....\五的倍数.ilk
........\.....\五的倍数.pdb
........\五的倍数\Debug\vc140.idb
........\........\.....\vc140.pdb
........\........\.....\五的倍数.log
........\........\.....\.........tlog\CL.read.1.tlog
........\........\.....\.............\CL.write.1.tlog
........\........\.....\.............\link.read.1.tlog
........\........\.....\.............\link.write.1.tlog
........\........\.....\.............\五的倍数.lastbuildstate
........\........\.....\源.obj
........\........\五的倍数.vcxproj
........\........\五的倍数.vcxproj.filters
........\........\源.cpp
........\五的倍数.sdf
........\五的倍数.sln
........\说明.txt
........\.vs\五的倍数\v14
........\五的倍数\Debug\五的倍数.tlog
........\.vs\五的倍数
........\五的倍数\Debug
........\.vs
........\Debug
........\五的倍数
五的倍数