摘要: 先看以下一段代码:   以下是执行结果: 1 0x7fff6de21a20 linux 0x7fff6de21a00 hello world h hello world 0x7fff6de219f0 linux 解释: 一直以来都对指针有点疑惑.所以没事的时候就专门写了这段代码,代码不难.却对我认识 阅读全文
posted @ 2016-03-15 21:17 zfyouxi 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 题目链接:Codeforces 437B The Child and Set 開始是想到了这样的情况,比方lowbit之后从大到小排序后有这么几个数,200。100,60。50。S = 210。那先选了200肯定就不行了,所以写了个DFS。果断TLE。后来想了想lowbit之后的值都是最高位是1。其 阅读全文
posted @ 2016-03-15 19:59 zfyouxi 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 今天给大家推荐两个适用于前端业者的游戏,大家来玩玩游戏。看看自己的水平怎样。两个游戏。分别关于颜色和选择器,来一探到底撒。 1. What the color? 著名前端女神Lea Verou推出的猜颜色的游戏,大家能够測试下自己的水平怎样。 2. css dinner css选择器是css的基础, 阅读全文
posted @ 2016-03-15 19:27 zfyouxi 阅读(167) 评论(0) 推荐(0) 编辑
摘要: If we take 47, reverse and add, 47 + 74 = 121, which is palindromic. Not all numbers produce palindromes so quickly. For example, 349 + 943 = 1292, 12 阅读全文
posted @ 2016-03-15 16:55 zfyouxi 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 1、OpenCV中LDA类的声明 2、演示样例 阅读全文
posted @ 2016-03-15 16:48 zfyouxi 阅读(664) 评论(0) 推荐(0) 编辑
摘要: 前段时间移植过RT3070。RT5370 http://blog.csdn.net/ofaith12345/article/details/24138399 发现各种arm移植都大同小异,所以就不要纠结与2440。6410,也不用纠结linux,或者android 1.编译内核,方法如移植RT537 阅读全文
posted @ 2016-03-15 16:16 zfyouxi 阅读(3840) 评论(2) 推荐(0) 编辑
摘要:      我的总结是在看完uml学习之后又參考了同学借的《uml和ooad高速入门》的思路,利用齿轮带动的原理进行。废话不多说了。首先分析一下类图和用例图的联系与差别。 类图 用例图 类class 用例use case 、參与者actor 关联association 包括include、扩展exte 阅读全文
posted @ 2016-03-15 15:20 zfyouxi 阅读(165) 评论(0) 推荐(0) 编辑
摘要: ///题意:给出一棵树。树的边上都有边权值,求从一点出发的权值和最大,权值为从一点出去路径上边权的最小值# include # include # include # include using namespace std;# define MAX 200010struct node{ int u,v; int w;};struct node a[MAX];__int64 dis[... 阅读全文
posted @ 2016-03-15 10:33 zfyouxi 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 解决的方法:DOS中输入例如以下命令: 软件成功安装之后能够执行下面命令,将该虚拟分区删除: 阅读全文
posted @ 2016-03-15 09:23 zfyouxi 阅读(2425) 评论(0) 推荐(0) 编辑
摘要: 首先,创建DLL程序 然后,加入一个导出类 比如: //Test.h #pragma once class AFX_EXT_CLASS Test { public:  Test(void);  ~Test(void);  void Show(); };   //Test.cpp void Test: 阅读全文
posted @ 2016-03-15 08:35 zfyouxi 阅读(160) 评论(0) 推荐(0) 编辑