码迷,mamicode.com
首页 >  
搜索关键字:digital    ( 684个结果
给定正整数N,统计1-N的连续整数中1的个数
给定正整数N,统计1-N的连续整数中1的个数intCountNumOf1(intdigital){ intnum=0; while(digital) { num+=(digital%10==1)?1:0; digital/=10; } returnnum;}intCountTotalNumOf1(intN){ intsum=0; printf("前N个连续数是:\n"); for(inti=1;i<=N;++i) { printf("%d",i); s..
分类:其他好文   时间:2014-10-15 20:07:11    阅读次数:201
DSA签名算法笔记
注意:只是个人理解,可能有不正确的地方 DSA(Digital Signature Algorithm)签名算法是由美国国家标准与技术研究院(NIST,?National Institute of Standards and Technology)提出的一个关于数字签名的美国联邦信息...
分类:编程语言   时间:2014-10-15 00:51:19    阅读次数:445
HDU1013_Digital Roots【大数】【水题】
题目大意:给你一个数,若这个数的各个位数上的和为一位数字,则输出结果。否则继续计算上一结果 的各个位数上的和,知道结果为一位数字,进行输出 思路:……...
分类:其他好文   时间:2014-10-13 11:42:19    阅读次数:191
HDU1163【九余数定理】【水题】
Eddy's digital Roots 题目大意:给你一个正整数n,把n的各位上数字加起来,如果结果小于10,则所得结果为n的数字根,如果大于10,则再把上边所得结果各位上的数字加起来。现在给你一个数n,求n^n的数字根 思路:一看数据规模10000^10000,肯定要把n拆分掉。通过找规律发现,求n^n的数字根可转化为先求n的数 字根a,然后求a*n的原根,赋给a,接着依次求a*n,求n-1次,就得到了n^n的数字根。 例如:求5^5的数字 第一种方法:5^5 = 3125 3 + 1 + 2...
分类:其他好文   时间:2014-10-13 10:55:59    阅读次数:155
HDoj-1013
Problem Description The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the digital root. If the resultin...
分类:其他好文   时间:2014-10-12 19:46:59    阅读次数:205
关于视频YUV
这里有一篇摘自MSDN的文章,介绍了YUV视频数据格式。 About YUV Video Digital video is often encoded in a YUV format. This article explains the general concepts of YUV video, along with some terminology, without g...
分类:其他好文   时间:2014-10-11 20:38:36    阅读次数:315
coursera-miniproject stopwatch任务总结
---恢复内容开始---首先是miniproject的说明:combintext drawing in canvaswithtimeto build digital stopwatch.tenths of a second-秒后有一个小数点3 buttons "Start" "Stop""Reset...
分类:其他好文   时间:2014-10-10 18:17:54    阅读次数:235
Application binary interface and method of interfacing binary application program to digital computer
An application binary interface includes linkage structures for interfacing a binary application program to a digital computer. A function in a reloca...
分类:移动开发   时间:2014-10-08 16:41:45    阅读次数:302
kindle 电子书去除DRM
DRM,Digital Rights Management,数字版权管理。 amazon购买的图书会下发到你的kindle设备,电子书格式通常为.azw3,里面包含了DRM,只能在你的设备上使用。所以设备连USB把文件取出来给别人是没用的。 epubee这个软件可用来去除DRM,方便你自由分发。   以Windows Desk环境为例,见下图:...
分类:其他好文   时间:2014-10-02 19:11:53    阅读次数:171
核心--待克服的大山
离散数学Discrete Mathematics数据结构Data Structure数字电路与逻辑设计Digital Circuit and Logic Design汇编语言程序设计Assembly Language Programming数值分析Numerical Analysis操作系统原理Op...
分类:其他好文   时间:2014-09-27 02:18:58    阅读次数:251
684条   上一页 1 ... 60 61 62 63 64 ... 69 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!