码迷,mamicode.com
首页 > 其他好文
【HDU】1848 Fibonacci again and again
http://acm.hdu.edu.cn/showproblem.php?pid=1848题意:同nim,3堆,每次取的为fib数,n#include using namespace std;int f[1005], a[100];bool b[20];int main() { a[1]=1; a...
分类:其他好文   时间:2015-02-06 23:04:10    阅读次数:177
Servlet实例开发---学生管理系统
Servlet总结本程序采用Servlet开发技术,MVC分层,所有程序在设计时都要接口为操作的标准,主要逻辑操作只有增删改查。具体实现操作请看源代码。本程序采用的是MYSQL数据库,需加入相应的jar包目录结构首先贴上底层数据层:连接数据库package com.student.dbc ;impo...
分类:其他好文   时间:2015-02-06 23:02:13    阅读次数:477
Deobfuscation of Angler Exploit Kit in Recently 0Day Attack
Angler Exploit在最近变得非常火热,主要是最近的几次flash 0day都出现在该Exploit Kit中,该Exploit Kit最大的特点就是混淆的十分厉害,相比国内比较流行DoSWF,这个的混淆方式简直灭绝人性==!,下面就是该Exploit Kit使用的一个CVE-2014-05...
分类:其他好文   时间:2015-02-06 23:01:35    阅读次数:246
LeetCode 004 Median of Two Sorted Arrays
题目描述:Median of Two Sorted ArraysThere are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overal...
分类:其他好文   时间:2015-02-06 23:02:21    阅读次数:201
程序测试……
拿矿山实际数据进行测试,说起来真是个苦逼的事,本来以为大半天能测试完,结果第一天测试就没成功,然后觉得第二天能测试成功,结果第二天没测试成功,然后第三天,继续测试,直到第三天距离下班前两个小时,才发现真正问题所在,然后下班后才验证了问题的所在,第四天改正了第三天发现的问题,继续测试,可是又出现了新问...
分类:其他好文   时间:2015-02-06 23:00:58    阅读次数:158
【HDU】1846 Brave Game
http://acm.hdu.edu.cn/showproblem.php?pid=1846题意:二人博弈,1堆石子每次取1~m个,没有石子可取的输,输出先手胜利还是后手胜利。#include using namespace std;int main() { int c; scanf("%d", &...
分类:其他好文   时间:2015-02-06 23:00:09    阅读次数:125
黑马程序员----第一个OC程序
------- android培训、java培训、期待与您交流! ----------一、#import1.#import的作用:跟#include的作用一样,拷贝文件可以自动防止文件的内容被重复拷贝2.#import NSObjCRuntime.h文件中有SLog函数的声明二、Foundation...
分类:其他好文   时间:2015-02-06 23:01:20    阅读次数:179
ARM发布全新16纳米A72架构 预计明年出货
ARM近日刚刚正式对外公布了最新一代的64位移动处理器架构Cortex-A72和移动图形处理器Mali-T880。 据悉,这款最新的Cortex-A72架构与目前的Cortex-A53、A57一样,也采用了ARMv8指令集。相比Cortex-A15,A72性能提升了3.5倍,功耗降低了7...
分类:其他好文   时间:2015-02-06 22:59:41    阅读次数:169
uva156反片语
背景:学习stl过程中遇到的简单题,但我不会。 思路:将单词标准化,然后就可以运用映射map了。#include #include #include #include #include #include using namespace std; map cnt; vector words; string repr(const string& s) { string ans=s...
分类:其他好文   时间:2015-02-06 21:59:59    阅读次数:200
【BUG之旅】程序不能退出问题
窗口A创建两个线程T1,T2,在OnClose函数中调用了TerminateThread结束这两个线程,发现最后程序没有正常返回。最后定为是这个函数没有正常结束线程。...
分类:其他好文   时间:2015-02-06 21:59:07    阅读次数:181
leetcode_50_Pow(x, n)
版权所有,欢迎转载,转载请注明出处,谢谢 Pow(x, n)  Implement pow(x, n). //vs2012测试代码 //divide-and-conquer //classic #include using namespace std; class Solution { public: double pow(do...
分类:其他好文   时间:2015-02-06 21:57:41    阅读次数:180
极光推送开发(一)
网上面关于极光推送的文章不多,再此写一篇文章进行说明。 极光推送的官方网站:https://www.jpush.cn/common/ (一)准备工作 在官方网站中,它已经对极光推送如何开发进行了详细的说明,照着上面的步骤是不难把极光推送应用到自己开发的客户端中的。 极光推送官方网站的说明文档链接: http://docs.jpush.io/guideline/android_guide/...
分类:其他好文   时间:2015-02-06 21:56:49    阅读次数:475
error LNK2005: “public: class std::vector<class std::vector<class std::vector<float>”
VS2010:error LNK2005: "public: class std::vector<class std::vector<class std::vector<class std::vector<float,class std::allocator >,class std::allocator<class std::vector<float,class std::allocator...
分类:其他好文   时间:2015-02-06 21:55:14    阅读次数:438
poj 2054 Color a Tree 据说是贪心
Bob is very interested in the data structure of a tree. A tree is a directed graph in which a special node is singled out, called the "root" of the tree, and there is a unique path from the root to each of the other nodes. Bob intends to color all the no...
分类:其他好文   时间:2015-02-06 21:55:57    阅读次数:221
【三层】大神与菜鸟的区别
一个好的分层式结构,可以使得开发人员的分工更加明确。一旦定义好各层次之间的接口,负责不同逻辑设计的开发人员就可以分散关注,齐头并发。虽然三层架构仍有不可避免的缺陷,但是软件分层结构使得代码维护非常方便,设计明确,各层独立,专注自己擅长的领域。通过对三层的学习,对软件体系结构又有了更深入的了解。...
分类:其他好文   时间:2015-02-06 21:54:42    阅读次数:260
杭电ACM 蜗牛出井
Problem Description A snail is at the bottom of a 6-foot well and wants to climb to the top. The snail can climb 3 feet while the sun is up, but slides down 1 foot at night while sleeping. The snail ...
分类:其他好文   时间:2015-02-06 21:51:59    阅读次数:272
一个优秀团队是怎么散伙的?看完后感受很深!
那天,靠近河边的丛林突起大火,并迅速蔓延到整个绿地。聪明的狮子和猫头鹰见势不妙,不是跑了就是飞了;无情的大火吞噬着蟑螂、蜘蛛,以及飞不远的苍蝇和蝉,而且一群蚂蚁也被大火包围。 来自四面八方的蚂蚁突然迅速聚集,抱成一团向河边滚去。外层的蚂蚁被活活烧死,但直到烧焦它们也不离开自己的岗位,一直坚守到冲向河流。河面泛起一大片被烧焦了的蚂蚁,但大部分蚂蚁却因此获救。 看着...
分类:其他好文   时间:2015-02-06 21:53:19    阅读次数:191
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!