摘要: 你到底想要什么?相信这是很多人都问过自己的问题。我也经常反复的问自己,你想要的是什么,你在做的是你想要的吗?每次我都会把自己难住,是啊,这个问题要说难真的难,要说简单也简单。最近跑到某软HR(反正不是微软)部门实了个习之前我从来没有想过会和人力资源扯上关系,一个偶然的机会,体个检就混进来了。每天工作 阅读全文
posted @ 2017-02-23 22:04 vegetable_vegetable 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Description N (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participating in a programming contest. As we all know, some cows code better than o 阅读全文
posted @ 2016-09-19 22:06 vegetable_vegetable 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Description It has recently been discovered how to run open-source software on the Y-Crate gaming device. A number of enterprising designers have deve 阅读全文
posted @ 2016-09-19 18:36 vegetable_vegetable 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 图的邻接矩阵存储法,它的空间和时间复杂度都是N2,现在我来介绍另外一种存储图的方法:邻接表,这样空间和时间复杂度就都是M。对于稀疏图来说,M要远远小于N2 模板如下: struct edge{ int u,v,w,next; }edge[N*3]; int first[N],t; void init 阅读全文
posted @ 2016-09-14 23:19 vegetable_vegetable 阅读(1269) 评论(0) 推荐(0) 编辑
摘要: Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Be 阅读全文
posted @ 2016-09-02 22:29 vegetable_vegetable 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Submit Status Practice POJ 3071 Description Consider a single-elimination football 阅读全文
posted @ 2016-08-30 17:14 vegetable_vegetable 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description 给定K个整数的序列{ N1, N2, ..., NK },其任意连续子序列可表示为{ Ni, Ni+1, ..., Nj },其中 1 < 阅读全文
posted @ 2016-08-29 17:52 vegetable_vegetable 阅读(163) 评论(0) 推荐(0) 编辑
摘要: "Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says. "The second problem is, given an positiv 阅读全文
posted @ 2016-08-29 17:10 vegetable_vegetable 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Compromise Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8209 Accepted: 3546 Special Judge Description In a few months the European Curre 阅读全文
posted @ 2016-08-26 19:29 vegetable_vegetable 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 第一次写这种总结性的博客,最后的结果还挺出乎我的预料的,短短几个小时,阅读量就达到了90+。我有点受宠若惊,感觉写的不是很好,最初只是抱着总结知识点的心态,便于提醒记忆力逐渐减退的我。哈哈哈哈,既然看到了你们热情的双手,那我便信心满满,接下来我将好好将计算机网络整理一下,力图做到结构化,融会贯通【/ 阅读全文
posted @ 2016-08-23 20:48 vegetable_vegetable 阅读(821) 评论(5) 推荐(4) 编辑