码迷,mamicode.com
首页 > 其他好文
HNU Judging Troubles (字典树)
Judging Troubles Time Limit: 5000ms, Special Time Limit:12500ms, Memory Limit:65536KB Total submit users: 85, Accepted users: 63 Problem 13352 : No special judgement Problem desc...
分类:其他好文   时间:2015-08-02 21:42:02    阅读次数:167
hdu1016(简单深搜)
hdu1016...
分类:其他好文   时间:2015-08-02 21:43:37    阅读次数:135
如何搭建轻量级架构-更新部署篇
搞定了前期所有的问题,你的平台架构也在慢慢完善中...余下的就是更新部署方面的问题了。 大家都知道,平台运行需要一个运行环境。抛开操作系统以及服务器这方面的安装,平台本身运行就需要数据库,数据等需要初始化。 平台的打包我们之前有讲过Maven,使用Maven可以自动化构建你的项目,本篇不再多讲。 而关于数据库以及相关数据的配置,在部...
分类:其他好文   时间:2015-08-02 21:42:58    阅读次数:129
建构微服务的第一步: 微服务哪里来?
许多人谈到 "微服务" 又是在纠结一个二十多年前的老问题; “粒度”; 什么是微服务划分的 "粒度"? 二十多年来, 许多人都在以一个 "标准答案";粒度; 在做软件开发。很遗憾的是,当你一直以所谓的 “标准答案” 在做软件开发时, 你却永远是在用所谓的 "错误答案" 在做软件开发。 如何识别可自适应变化的 “微服务”,重点不在争论什么是 “原子” ? 什么不是 “原子”? 真正...
分类:其他好文   时间:2015-08-02 21:40:58    阅读次数:133
设计模式3-代理模式
Proxy 那点事儿 反射实现 AOP 动态代理模式(Spring AOP 的实现 原理)代理模式是指自己不做一些事,让他人代为处理,经常是增加或去掉一些功能。代理模式的类最好把要代理的类传入当做成员。 Private car; 这样的聚合更好(尤其是当功能叠加的时候套用更好,代理之间互相传递) 静态代理:代理和被代理对象在代理之前是确定的。他们都实现相同的接口或者继承相同的抽象类运行时间、日...
分类:其他好文   时间:2015-08-02 21:43:16    阅读次数:127
Sum
Sum 时间限制:1000 ms  |  内存限制:65535 KB 难度:2 描述Consider the natural numbers from 1 to N. By associating to each number a sign (+ or -) and calculating the value of this expression we obtain ...
分类:其他好文   时间:2015-08-02 21:41:37    阅读次数:165
HNU Cent Savings (DP)
Cent Savings Time Limit: 5000ms, Special Time Limit:12500ms, Memory Limit:65536KB Total submit users: 54, Accepted users: 36 Problem 13345 : No special judgement Problem descript...
分类:其他好文   时间:2015-08-02 21:42:05    阅读次数:181
简单的深搜题
刚介入深搜题时,一定要搞清它的过程。有个笨的方法,可以试试,代入数据看。...
分类:其他好文   时间:2015-08-02 21:41:21    阅读次数:129
南阳oj A+BproblemII 题目103
?? 和HDUOJ上的一模一样  就找搬过来了 #include #include #define N 1000 char x[N],y[N]; int a[N+1]; int main() {  int g,h=0;  scanf("%d",&g);  while(g--)  {   int k1,k2,t=0,m,n,k,i,j,l;   scanf("%s %s"...
分类:其他好文   时间:2015-08-02 21:40:11    阅读次数:124
hdu 4292 Food (最大流)
hdu 4292 FoodDescription   You, a part-time dining service worker in your college’s dining hall, are now confused with a new problem: serve as many people as possible.   The issue comes up as people...
分类:其他好文   时间:2015-08-02 21:40:19    阅读次数:220
卡特兰数-Catalan数
卡特兰数的含义: 说到卡特兰数,就不得不提及卡特兰数序列,卡特兰数序列是一个整数序列,其通项公式是我们从中取出的就叫做第n个卡特兰数数,前几个卡特兰数数是:1, 1, 2, 5, 14, 42, 132, 429, 1430, 4862, 16796, 58786, 208012, 742900, …运用卡特兰数可以解决许多实际问题上的计数问题 卡特兰数的几个基本性质以及变形公式: ...
分类:其他好文   时间:2015-08-02 21:41:29    阅读次数:189
hdu1241(Oil Deposits)
点击打开hdu1241 Problem Description The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time...
分类:其他好文   时间:2015-08-02 21:41:14    阅读次数:157
HDU 3987 Harry Potter and the Forbidden Forest(最小割中的最少割边)经典
Harry Potter and the Forbidden Forest Time Limit: 5000/3000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1791    Accepted Submission(s): 596 Problem Descri...
分类:其他好文   时间:2015-08-02 21:38:47    阅读次数:275
《深入理解计算机系统》 第一章读书笔记
最近开始啃CSAPP,买了英文版,看得比较慢。只有先理解系统才能在更多方面学的更明其实质Chapter1: * 一份hello.c代码的编译分为四个阶段:1.Pre-processor:编译预处理,就是把#include后面的库代码加入到程序中,生成hello.i的文件。 2.Complier:用编译器把hello.i的C代码翻译成汇编语言,并生成:hello.s文件。(汇编语言是高级语言...
分类:其他好文   时间:2015-08-02 21:40:25    阅读次数:159
hdu 3572 Task Schedule(最大流)
hdu 3572 Task ScheduleDescription Our geometry princess XMM has stoped her study in computational geometry to concentrate on her newly opened factory. Her factory has introduced M new machines in orde...
分类:其他好文   时间:2015-08-02 21:40:22    阅读次数:103
hdoj 1022Train Problem I
这道题有很多陷阱。Yes和No注意大小写。还有后面的.也要记住呦。还有还有一定要记住要清栈。...
分类:其他好文   时间:2015-08-02 21:37:32    阅读次数:105
双链表的建立
创建双链表 #include #include #include #include using namespace std; typedef struct student { int data; struct student *next; struct student *pre; } dnode; dnode *create() { dnode *hea...
分类:其他好文   时间:2015-08-02 21:36:42    阅读次数:100
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!