首页 > 其他
hdu 最小公倍数
/* * hdu 最小公倍数 * date 2014/5/13 * state AC */ #include using namespace std; int gcd(int x,int y) { while(x!=y) { if(x>y)x=x-y; else y=y-x; } return x; } int main() ...
分类:其他   时间:2014-05-14 14:29:26    收藏:0  评论:0  赞:0  阅读:303
LeetCode-005 Longest Palindromic Substrin
【题目】 Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 【题意】 题意是找出字符串S中最长回文子串,S最长为1000,保证有唯一解 【思路】 原字符串用特殊字符#间隔,如下所示: #a...
分类:其他   时间:2014-05-15 03:31:08    收藏:0  评论:0  赞:0  阅读:432
hdu4460之BFS
Friend Chains Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2882    Accepted Submission(s): 970 Problem Description For a group o...
分类:其他   时间:2014-05-15 11:20:40    收藏:0  评论:0  赞:0  阅读:432
《漫画线性代数》读书笔记 矩阵
《漫画线性代数》读书笔记 矩阵...
分类:其他   时间:2014-05-15 06:42:47    收藏:0  评论:0  赞:0  阅读:307
dao层的泛型实现(2种方法)
dao层的泛型实现(2种方法)...
分类:其他   时间:2014-05-15 06:52:37    收藏:0  评论:0  赞:0  阅读:308
[LeetCode]String to Integer (atoi)
Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input cases. Notes: It is intended for this problem to be specifi...
分类:其他   时间:2014-05-15 05:00:28    收藏:0  评论:0  赞:0  阅读:328
uboot 结构分析
介绍uboot的整体结构了部分重要文件夹存放的内容 以及实现的目标...
分类:其他   时间:2014-05-15 14:45:07    收藏:0  评论:0  赞:0  阅读:456
Sicily 1732 Alice and Bob (二进制数的最大公约数)
链接: http://soj.me/1732 Constraints Time Limit: 1 secs, Memory Limit: 32 MB Description: Alice is a beautiful and clever girl. Bob would like to play with Alice. One day, Alice got a very ...
分类:其他   时间:2014-05-15 03:20:42    收藏:0  评论:0  赞:0  阅读:501
Sicily 1302 Magic Square (数论)
链接:http://soj.me/1302 题目中有图和表格,所以就不把题目信息列出来了,打开链接直接看就行了。。。 分析: 从填幻方的过程,可以判断一下几点: 1>.幻方的每一列都是向下发展的; 2>.填入的前n个数都刚好是每一列第一个填入的数; 从这两点可以推出下面几点: (1). 每一列的发展是平面的(即每一列的个数是一样的,特别的,只有一列少一); (2). 右下角...
分类:其他   时间:2014-05-15 07:01:01    收藏:0  评论:0  赞:0  阅读:295
select在并发中的两点限制与poll函数的使用
用select实现的并发服务器,能达到的并发数,受两方面限制 一个进程能打开的最大文件描述符限制。这可以通过调整内核参数。 select中的fd_set集合容量的限制(FD_SETSIZE) ,这需要重新编译内核。...
分类:其他   时间:2014-05-15 05:19:15    收藏:0  评论:0  赞:0  阅读:444
source insight实用技巧
1 sourceinsight screen font 的默认字体是Verdana的,它是一直变宽字体。在Document style中可以将字体改为定宽的Courier 2   document options->auto indent 去掉indent Open Brace和Indent Close Brace的效果: 继上一段,在相对缩进行里, 如果输入"{"或"}", 则自动和上一行...
分类:其他   时间:2014-05-15 04:33:13    收藏:0  评论:0  赞:0  阅读:443
sizeof详解
sizeof的详解...
分类:其他   时间:2014-05-15 06:14:02    收藏:0  评论:0  赞:0  阅读:228
12周 项目2 老师兼干部类
#include #include using namespace std; class Teacher { public: Teacher(string nam,int ag,char s,string ad,int num,string t) { name=nam; age=ag; sex=s; ...
分类:其他   时间:2014-05-15 04:32:40    收藏:0  评论:0  赞:0  阅读:410
hdu 4034 Graph
反向最短路...
分类:其他   时间:2014-05-15 06:13:17    收藏:0  评论:0  赞:0  阅读:393
UVa 10308 Roads in the North 树的直径
题目来源:UVa 10308 Roads in the North 题意:求距离最远的2点之间的距离 思路:裸的树的直径 或者树形DP #include #include #include using namespace std; const int maxn = 100010; struct node { int to, w; node(){} node(int to, int...
分类:其他   时间:2014-05-15 03:37:01    收藏:0  评论:0  赞:0  阅读:472
Geogebra习作(自行车手)
这个虽然制作并不复杂,但是把自行车绘出来还是不易的: 取巧用了个现成的 其它的都是调整型的操作....
分类:其他   时间:2014-05-15 05:39:24    收藏:0  评论:0  赞:0  阅读:297
【Unity技巧】LOGO闪光效果
写在前面 本文参考了风宇冲的博文,在按照这篇博文实现LOGO闪光时,发现了一些问题。最严重的就是背景无法透明,看上去背景始终是黑色的;其次就是各个变量的意义不是非常明确,调节起来不方便;而且在闪光条的角度处理上考虑不全,在角度为钝角时会有Bug。 这篇文章针对上面的问题修改了该Shader,并将各个变量作为Shader面板中的可调节变量,可视化编辑闪光效果。...
分类:其他   时间:2014-05-15 04:02:25    收藏:0  评论:0  赞:0  阅读:512
《漫画线性代数》读书笔记 目录
《漫画线性代数》读书笔记 目录...
分类:其他   时间:2014-05-15 15:10:06    收藏:0  评论:0  赞:0  阅读:451
一个组合问题
今天Mayuyu遇到了一道组合问题,题目描述...
分类:其他   时间:2014-05-15 06:42:07    收藏:0  评论:0  赞:0  阅读:319
学习MFC
1、子窗口类中调用父窗口类中的成员函数: C...
分类:其他   时间:2014-05-15 15:08:49    收藏:0  评论:0  赞:0  阅读:352
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!