码迷,mamicode.com
首页 > 其他好文
为什么美国不再是世界上最伟大的国家?
此视频虽为虚构,但值得我们思考。
分类:其他好文   时间:2015-07-31 20:18:40    阅读次数:13202
I/O端口地址分配表(转)
(转)http://blog.csdn.net/zeflove/article/details/7337012端口地址范围 分配说明0x000-0x01f 8237A DMA控制器10x020-0x03f 8259A 可编程中断控制器10x040-0x05f 8253/8254|A 定时计数器0x0...
分类:其他好文   时间:2015-07-31 20:19:25    阅读次数:237
poj 1386 有向图欧拉(回)路
判断是否存在欧拉(回)路,注意先要用并查集判断图是否连通。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 const int N = 26; 7 const int M = 1001; 8 int f[N]; 9 in...
分类:其他好文   时间:2015-07-31 20:18:25    阅读次数:116
ProgressBar 源码
/*** @FileName CircleProgressBar.java* @Package com.read.view* @Description TODO* @Author Alpha* @Date 2015-7-30 下午4:52:24 * @Version V1.0*/package co...
分类:其他好文   时间:2015-07-31 20:18:36    阅读次数:138
elasticsearch学习笔记--20150731
1、jdk版本最好是1.8,用的是1.8.0_452、linux下配置profile设置JAVA环境变量3、配置elasticsearch/config目录下的elasticsearch.yml 主要就是cluster.name(集群名称,es会自动发现同一个clustername的节点并组成集群)...
分类:其他好文   时间:2015-07-31 20:19:47    阅读次数:120
ACM比较1和0的个数
DescriptionAndrewid the Android is a galaxy-famous detective. In his free time he likes to think about strings containing zeros and ones.Once he thoug...
分类:其他好文   时间:2015-07-31 20:18:15    阅读次数:126
poj 1328 Radar Installation
题目链接:http://poj.org/problem?id=1328贪心。看了几个解题报告都说是水题,解题方法也很简单,但是不明白为什么。。。网上好多代码提交都是wa的,真心醉了……对于每个小岛,在海岸上有一个区间可以覆盖它。把区间的按左边界排序,然后从左到右扫一遍,记录一个值temp为当前区间的...
分类:其他好文   时间:2015-07-31 20:19:22    阅读次数:98
hdu 2767 Proving Equivalences
Proving EquivalencesTime Limit: 2000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:276764-bit integer IO format:%I64d Java clas...
分类:其他好文   时间:2015-07-31 20:16:54    阅读次数:101
BZOJ1088 扫雷
水题,模拟。对于最后的方案数最多只会是2,想好久,又睡了一觉才想到这个,剩下的就好办了 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 #define lson l,m,rt<<...
分类:其他好文   时间:2015-07-31 20:17:18    阅读次数:92
datalist 的用法。也是增删改查,但是比较智能。用数据绑定的方式,可以有不同的显示方法,下面是对一个表的增删改查的参考代码
aspx里的代码,仔细看一下触发js事件 编号名称价格系列 ...
分类:其他好文   时间:2015-07-31 20:18:07    阅读次数:109
Jax
The scope of this project is to automate the current Credit Correction process of opening, editing, viewing and closing credit correction requests by ...
分类:其他好文   时间:2015-07-31 20:15:35    阅读次数:121
hdu 1394 Minimum Inversion Number 【线段树求逆序数】
之前写过树状数组的,再用线段树写一下~~~ 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 #define lp (p << 1) 9 #define rp (p <...
分类:其他好文   时间:2015-07-31 20:15:25    阅读次数:122
HUAS Summer Trainning #3~K
Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整数,n k,用一个空...
分类:其他好文   时间:2015-07-31 20:14:53    阅读次数:97
2015暑假训练赛个人赛(7.31)
IDOriginTitle59 / 211Problem AUVALive 6318 The New President 71 / 156Problem BUVALive 6319 No Name 38 / 127Problem CUVALive 6320 Encrypted Password 87...
分类:其他好文   时间:2015-07-31 20:14:42    阅读次数:146
nyoj 710 外星人的供给站【贪心区间选点】
外星人的供给站时间限制:1000ms | 内存限制:65535KB难度:3描述外星人指的是地球以外的智慧生命。外星人长的是不是与地球上的人一样并不重要,但起码应该符合我们目前对生命基本形式的认识。比如,我们所知的任何生命都离不开液态水,并且都是基于化学元素碳(C)的有机分子组合成的复杂有机体。4.....
分类:其他好文   时间:2015-07-31 20:15:04    阅读次数:139
(easy)LeetCode 237.Delete Node in a Linked List
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is1 -> 2 -> 3 -> ...
分类:其他好文   时间:2015-07-31 20:15:22    阅读次数:116
使用textutil进行文件格式转换
Typora使用textutil进行文件格式转换textutil进行文件转换支持的格式有:txt, html,rtf, rtfd,doc, docx,wordml, odt,webarchive同时,pdf是默认支持转为txtrtfpng/jpeg等图片格式转换单个文件的命令为: textutil ...
分类:其他好文   时间:2015-07-31 20:15:18    阅读次数:223
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!