摘要:                    
这道题可以说是月赛时最水的题了,,没什么意思。题目:flip时间限制:1000ms | 内存限制:65535KB难度:2描述Give you a non-negative integer x and an operation. The only operation you can do is to reverse one bit in binary form of xonce(i.e 1->0, 0->1).your goal is to turn x into x+1.Calculate the minimum times of operations you need to do                阅读全文
            
        阅读排行榜
杭电 1710 二叉树
2012-03-28 18:34 by javaspring, 215 阅读, 收藏,
摘要:                    
这道题是给出你二叉树的中序遍历和前序遍历,让求后序遍历。思路很简单,先建立一颗二叉树,之后再后序遍历二叉树即可。题目:Binary Tree TraversalsTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1326Accepted Submission(s): 633Problem DescriptionA binary tree is a finite set of vertices that is either empty or co.                阅读全文
            
        智力题_看看你的脑子转的够不够快!(7道题)
2012-02-23 13:56 by javaspring, 215 阅读, 收藏,
摘要:                    
智力题_看看你的脑子转的够不够快! 这是一些面试中经常见到的题目,当你们第一次遇到的时候 ,有多少题目能回答正确呢?------当有人把所有题目答案累计回答出来的时候,公布答案------ 1.你让工人为你工作7天,回报是一根金条,这个金条平分成相连的7段,你必须在每天结束的时候给他们一段金条。如果只允许你两次把金条弄断,你如何给你的工人付费? 2.有一辆火车以每小时15公里的速度离开北京直奔广州,同时另一辆火车每小时20公里的速度从广州开往北京。如果有一只鸟,以30公里每小时的速度和两辆火车同时启动,从北京出发,碰到另一辆车后就向相反的方向返回去飞,就这样依次在两辆火车之间来回地飞,直到两.                阅读全文
            
        程序员常用网址,必须收藏
2011-07-07 17:25 by javaspring, 215 阅读, 收藏,
摘要:                    
金山快盘 http://www.kuaipan.cn/login/ yijianfeng_vip@163.com115 网盘 http://my.115.com/ yijianfeng_vip@163.comjquery 树形菜单 http://www.baby666.cn/hunter/zTree.htmljquery 学习文档+效果源码 http://jquery-api-zh-cn.googlecode.com/svn/trunk/index.htmlKindEditor 编辑器 http://www....                阅读全文
            
        两行代码,理解了一个小时! 两个数组记录邻接表! ( 刘汝佳白书)
2012-08-05 00:53 by javaspring, 214 阅读, 收藏,
摘要:                    
#include<iostream>
#include<algorithm>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<queue>
#include<math.h>
#include<set>
#include<vector>
#define MAXN 15
#define INF 1000
int main()
{ int i,j,n,m,t,c; int first[MAXN]; int u[M                阅读全文
            
        
                    
                
浙公网安备 33010602011771号