码迷,mamicode.com
首页 >  
搜索关键字:an error occured while retrieving policy for this computer(0x80004005)    ( 62120个结果
[000]求两个数的最大公约数
求出两个数的最大公约数 1 int foo(int v1, int v2) 2 { 3 while(v2) { 4 int temp = v2; 5 v2 = v1 % v2; 6 v1 = temp; 7 } 8 9 re...
分类:其他好文   时间:2014-04-30 04:42:13    阅读次数:404
HDU1720 A+B Coming (16进制加法)
16进制加法1 #include2 int main()3 {4 int a,b;5 while(scanf("%x %x",&a,&b)!=EOF)6 {7 printf("%d\n",a+b); 8 } 9 }
分类:其他好文   时间:2014-04-30 02:19:33    阅读次数:357
HDU1719 Friend (数学推导)
friend numbers = 2^x + 3^y -1 1 #include 2 int main() 3 { 4 __int64 a; 5 while(scanf("%I64d",&a)!=EOF) 6 { 7 if(!a) 8 { 9...
分类:其他好文   时间:2014-04-30 01:43:36    阅读次数:322
powerdesiger连接oracle问题之一二
Java Exception : Fatal Error. Unable to initialize DatabaseMetaData class.Non SQL Error : Could not load class com.mysql.jdbc.D在powerdesigner里连接数据库,出现...
分类:数据库   时间:2014-04-30 00:20:26    阅读次数:2116
hdu 1124
题意:求N!中末尾0的个数 其实就是5的个数 因为2*5=10 肯定n中2的个数比5的个数多#includeusing namespace std;int main(){ int n; int t,d; int sum; scanf("%d",&t); while(t...
分类:其他好文   时间:2014-04-29 21:09:41    阅读次数:346
POJ 1236
Network of SchoolsTime Limit:1000MSMemory Limit:10000KTotal Submissions:10500Accepted:4189DescriptionA number of schools are connected to a computer n...
分类:其他好文   时间:2014-04-29 20:33:42    阅读次数:567
hdu 1211
典型的快速幂成应用题意:求x 使得x^e%n=num#includeusing namespace std;bool funtion(int x,int e,int n,int num){// m^n % k int b = 1; while (e > 0) { i...
分类:其他好文   时间:2014-04-29 20:20:25    阅读次数:414
KMP算法中求next数组的实质
在串匹配模式中,KMP算法较蛮力法是高效的算法,我觉得其中最重要的一点就是求next数组:看了很多资料才弄明白求next数组是怎么求的,我发现我的忘性真的比记性大很多,每次看到KMP算法求next数组都得花很长时间去看怎么求,虽然看了很多遍了,但还是容易忘,所以我今天非得把它记下来,这样我下次看到的...
分类:其他好文   时间:2014-04-29 19:26:58    阅读次数:429
win7,M?i?n?d?m?a?n?a?g?e?r?2?0?1?2使用模板时弹出Runtime error R6025解决方法
Mindjet.MindManager2012.v10.0在应用个别模板时提示“参数错误”,然后自动关闭。 解决办法: 如果是win7系统,可以进入C:\Users\(用户名)\AppData\Local\Mindjet\MindManager\10\Library\ENU\Templates, 可...
分类:Windows程序   时间:2014-04-29 18:59:15    阅读次数:746
c语言程序设计第一章3
字符数组是C语言中最常用的数组类型。下面我们通过编写一个程序,来说明字符数组以反操作字符数组的函数的用法。该程序读入一组文本行,并把最长的文水行打印出来。该算法的基本框架非常简单: while (还有未处理的行) i f (该行比已处理的最长行还要长) 保存该行 保存该行的长度 打印最长的...
分类:编程语言   时间:2014-04-29 15:50:20    阅读次数:506
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!