码迷,mamicode.com
首页 >  
搜索关键字:out    ( 35870个结果
拓扑排序 POJ 1049 Sorting It All Out
题目传送门 1 /* 2 拓扑排序裸题:有三种情况: 3 1. 输入时发现与之前的矛盾,Inconsistency 4 2. 拓扑排序后,没有n个点(先判断cnt,即使一些点没有边连通,也应该是n,此时错...
分类:编程语言   时间:2015-05-04 20:03:19    阅读次数:133
Java Learning (2)
Java基础细节记录Java的index不是从0开始的情况: 格式化参数索引是从1开始的,而不是0:System.out.println(%1$s %2$s, "Test: ", "OK");Java中在使用while loop的时候要小心endless loop的情况, 因为while是当什么时....
分类:编程语言   时间:2015-05-04 19:32:28    阅读次数:129
eclipse svn不能提交代码 关键字: eclipse svn team
问题现象: ??? 1.6.0版本subversion 导入项目到版本库 在TortoiseSVN中能正常获取数据,也能正常更新/提交 ??? 将check out出来的项目导入到eclipse,eclipse下的svn插件不能正常识别此项目(team里面没有...
分类:系统相关   时间:2015-05-04 18:26:25    阅读次数:156
poj1426 Find The Multiple
Description Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0 and 1. You may assume that n is not greater tha...
分类:其他好文   时间:2015-05-04 15:38:30    阅读次数:105
再不升级你就Out了 Windows8.1安装实录
2013年10月17日,美国时间凌晨4:00,北京时间晚上19:00,微软于总部雷蒙德正式发布了Windows8的一个升级版本,Windows8.1。 Windows8.1可以进行全新安装,也可以从Windows8升级。我使用Windows8.1已经一个多月的时间了,安装的是RTM版本,整体使...
分类:Windows程序   时间:2015-05-04 11:47:38    阅读次数:250
虚拟内存之页面置换算法
四种页面置换算法: 最佳(OPT,Optional) 最近最少使用(LRU,Least Recently Used) 先进先出(FIFO,First In First Out) 时钟(Clock) 一、最佳置换算法OPT 策略选择置换下次访问距当前时间最长的那些页,可以看出该算法能导致最少的缺页中断,但是由于它要求操作系统必须知道将来的事件,显然这是不可能实现的。但它仍然能作为一种标准来衡量其他算法...
分类:编程语言   时间:2015-05-04 08:42:40    阅读次数:213
poj2251 Dungeon Master
Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one un...
分类:其他好文   时间:2015-05-04 08:42:25    阅读次数:130
浅析Java中的构造代码块、静态代码块与构造方法
构造代码块、静态代码块与构造方法是三种不同的代码块,那么他们到底有什么区别呢? 一、简单认识一下构造代码块、静态代码块与构造方法 class A { //构造代码块 { System.out.println("构造代码块A"); } //静态代码块 static { System.out.println("静态代码块A"); } //构造方法 public...
分类:编程语言   时间:2015-05-04 06:28:28    阅读次数:135
linux 下借助poll延时(毫秒)
#include <poll.h> void Sleep(long ms) { poll(0,0,ms); } int main() { Sleep(500); return 0; } 测试: ? $ time ./a.out real 0m0.504s user 0m0.000s sys 0m0.000s sleep>Sleep>usleep 分别相差100倍 ...
分类:系统相关   时间:2015-05-03 23:55:25    阅读次数:446
git push被拒绝的处理方式
有时候我们使用git  push向远程仓库推送的时候,会报错如下: [remote rejected] master -> master (branch is currently checked out) remote: error: refusing to update checked out branch: refs/heads/master remote: error: By defaul...
分类:其他好文   时间:2015-05-03 22:09:49    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!