摘要:
长期以来,我一直用的是 ms sql server / access 数据库,通过 .net 访问 ms 自家的东西几乎没碰到过什么麻烦。最近项目中要用 oracle 作为数据库,学习研究了一些 .net 访问 oracle 的东西,发现问题倒真的不少。
1。system.data.oracleclient 和 system.data.oledb 命名空间
虽然通过这两个命名空间的类都可......
摘要:www.8623.com (斑竹cattom)turinger.center-tech.net(斑竹 lucklai)http://prog.cndeal.com(超级会员 fanoble)http://167168.kmip.net(最小的小将w.h)http://vrixpworld.7i24.com(斑竹vrix)http://my.yuther.com(和我一起进vcok的网友yuther......
浙大在线评测 1180 Self Numbersproblem: 【程序编程相关:
备考的日子.操作系统.绪论】 【推荐阅读:
以小博大,小企业如何面对微软提供完整的解】 in 1949 the indian mathematician d.r. kaprekar discovered a class of numbers called self-numbers. for any positive integer n, define d(n) to be n plus the sum of the digits of n. (the d stands for digitadition, a term coined by kaprekar.) for example, d(75) = 75 + 7 + 5 = 87. given any positive integer n as a starting point, you can construct the infinite increasing sequence of integers n, d(n), d(d(n)), d(d(d(n))), .... for example, if you start with 33, the next number is 33 + 3 + 3 = 39, the next is 39 + 3 + 9 = 51, the next is 51 + 5 + 1 = 57, and so you generate the sequence
33, 39, 51, 57, 69, 84, 96, 111, 114, 120, 123, 129, 141, ... 【扩展信息:[解决] DreamWeaver MX 】
the number n is called a generator of d(n). in the sequence above, 33 is a generator of 39, 39 is a generator of 51, 51 is a generator of 57, and so on. some numbers have more than one generator: for example, 101 has two generators, 91 and 100. a number with no generators is a self-number. there are thirteen self-numbers less than 100: 1, 3, 5, 7, 9, 20, 31, 42, 53, 64, 75, 86, and 97.
...
下一页 摘要:#pragma warning(disable: 4530)#pragma warning(disable: 4786)#include <map>#include <cassert>#include <iostream>#include <fstream>#include <vector>#include <string>#......