码迷,mamicode.com
首页 >  
搜索关键字:python set 三角形数量    ( 187995个结果
用基类接品,泛型抽象类,抽象方法实现代码复用
1、定义一个基类接口public interface IBaseEntity{/// 最后操作人编码 string LastOperatorCode { get; set; }/// 最后操作人 string LastOperator { get; set; }/// 最后操作时间 DateT...
分类:其他好文   时间:2014-05-01 08:14:17    阅读次数:267
在ListCtrl控件中设置自定义光标
::SetCursor(::LoadCursor (::AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_BMP_MOUSE)));void CMyListCtrl::OnItemchanged(NMHDR* pNMHDR, LRESULT* pRe...
分类:其他好文   时间:2014-05-01 08:13:36    阅读次数:339
[leetcode] Minimum Path Sum
思路很简单,就是存储之前运算的结果,然后递归class Solution {public: int** dp; int get_min_sum(vector > &grid, int m, int n) { if (dp[m][n] != -1) ...
分类:其他好文   时间:2014-05-01 07:54:47    阅读次数:330
回文验证
A_byte_of_Python-v192-for_Python_3.0-中文版.pdf 中的一道题:练习题: 检测一个文本是否为回文应该忽略标点,空格和大小写。 例如”Rise to vote, sir.”同样是一个回文,但是我们当前的例子无法识别它。你能改善这个例子让它做都这点吗?代码有点挫,莫...
分类:其他好文   时间:2014-05-01 06:52:33    阅读次数:359
[leetcode]Swap Nodes in Pairs @ Python
原题地址:http://oj.leetcode.com/problems/swap-nodes-in-pairs/题意:将链表中的节点两两交换。Given1->2->3->4, you should return the list as2->1->4->3.解题思路:这题主要涉及到链表的操作,没什么...
分类:编程语言   时间:2014-05-01 06:44:21    阅读次数:339
[leetcode]Remove Nth Node From End of List @ Python
原题地址:http://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/题意:Given a linked list, remove thenthnode from the end of list and return its he...
分类:编程语言   时间:2014-05-01 06:42:15    阅读次数:332
人造奇迹——二进制位运算的运用
最后更新:2014年4月30日1、位运算包括:这个我觉得大家都会我就随便说下:位与&,如 101 & 110 = 100位或|,如 100 | 110 = 110位非~,如 ~101 = 010位异或^,如 101 ^ 110 = 011左移>,如 110 >> 1 = 011其中,负数位运算的时候...
分类:其他好文   时间:2014-05-01 06:23:40    阅读次数:336
【Mysql】select
描述The SELECT statement is used to select data from a database.The result is stored in a result table, called the result-set.大意:select用来从数据库中挑选数据有以下两种形...
分类:数据库   时间:2014-05-01 06:14:32    阅读次数:467
Z-Stack内部API 小结
Z-Stack是TI推出的全功能ZigBee协议栈,通过了ZigBee联盟的兼容性平台测试,包含如下几个组件。 1. HAL,硬件抽象层 2. OSAL,操作系统抽象层 3. ZigBee Stack和IEEE 802.15.4 4. User App 5. MT,通过串口与PC进行通讯的demo ...
分类:Windows程序   时间:2014-05-01 06:04:13    阅读次数:618
[复变函数]第21堂课 6 留数理论及其应用 6. 1 留数
0. 引言---回忆(1) Cauchy 积分公式 (第三章) $$\beex \bea f\mbox{ 在 }D\mbox{ 内解析}, \mbox{ 在 }\bar D=D+\p D\mbox{ 上连续}&\ra \int_C \cfrac{f(z)}{z-a}\rd z=2\pi if(a),...
分类:其他好文   时间:2014-05-01 03:47:46    阅读次数:352
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!