数字运算,判断一个数是否接近素数 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no
上传时间: 2015-05-21
上传用户:daguda
数字信号图象处理,对数字图象进行滤波和中值化
上传时间: 2013-12-23
上传用户:mpquest
一个数字信号处理的功率谱估计的例子,需要的可以作为参考。
上传时间: 2015-05-24
上传用户:ynwbosss
matlab写的数字信号处理源代码,里面包括最基本的fft计算,以及小波分析。完整的源代码。
上传时间: 2014-11-22
上传用户:hn891122
See Appendix B for a description of the programs included on this companion disk. RESOURCE.WRI identifies other books and resources for Internet programming. WEBHELP.HLP contains an introduction to the World Wide Web. TCPMAN.HLP provides detailed instructions to help you use the Trumpet Winsock included on this disk. Use the Program Manager s File menu Run option to execute the SETUP.EXE program found on this disk. SETUP.EXE will install the programs on your hard drive and create an Internet Programming group window. Internet编程技术 [配套程序] [涉及平台] VC [作者] void [文件大小] 1032K
标签: description companion Appendix RESOURCE
上传时间: 2013-12-04
上传用户:asasasas
应用matlab进行数字信号处理的一些源代码,希望对大家有帮助。
上传时间: 2013-12-10
上传用户:牧羊人8920
数字信号处理的一些MATLAB源程序,均已经通过编译、仿真,请放心下载使用。
上传时间: 2013-12-22
上传用户:ikemada
数字信号处理的一些MATLAB源程序,均已经通过编译、仿真,请放心下载使用。
上传时间: 2014-01-02
上传用户:ouyangtongze
数字信号处理的一些MATLAB源程序,均已经通过编译、仿真,请放心下载使用。
上传时间: 2014-02-25
上传用户:ma1301115706
数字信号处理的一些MATLAB源程序,均已经通过编译、仿真,请放心下载使用。
上传时间: 2013-12-17
上传用户:VRMMO