码迷,mamicode.com
首页 >  
搜索关键字:union all    ( 25526个结果
C++自定义数据类型
C++中有以下几种自定义数据类型方式:typedef、union、enumtypedeftypedef只是用于重命名一种已有的数据类型。typedef char C; //C c即char c typedef char field [50]; //field...
分类:编程语言   时间:2014-05-26 20:20:40    阅读次数:235
poj2196
Specialized Four-Digit NumbersTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 7238Accepted: 5285DescriptionFind and list all four-digit numbe...
分类:其他好文   时间:2014-05-26 19:18:49    阅读次数:250
笔试算法题(38):并查集(Union-Find Sets)
出题:并查集(Union-Find Sets)分析:一种树型数据结构,用于处理不相交集合(Disjoint Sets)的合并以及查询;一开始让所有元素独立成树,也就是只有根节点的树;然后根据需要将关联的元素(树)进行合并;合并的方式仅仅是将一棵树最原始的节点的父亲索引指向另一棵树;优化:加入一个ra...
分类:其他好文   时间:2014-05-26 18:48:46    阅读次数:290
[leetcode]Path Sum @ Python
原题地址:https://oj.leetcode.com/problems/path-sum/题意:Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all...
分类:编程语言   时间:2014-05-26 18:37:11    阅读次数:295
笔试算法题(39):Trie树(Trie Tree or Prefix Tree)
出题:TRIE树 (Trie Tree or Prefix Tree);分析:又称字典树或者前缀树,一种用于快速检索的多叉树结构;英文字母的Trie树为26叉树,数字的Trie树为10叉树;All the descendants of a node have a common prefix of t...
分类:其他好文   时间:2014-05-26 18:31:06    阅读次数:297
如何使用地图的注解功能
如何使用地图的注解功能实现了协议MKAnnotation的对象才能够被用地图上的注解对象,一般都是如下定义的.DisplayMap.h + DisplayMap.m//// DisplayMap.h// MoreMapInfo//// Copyright (c) 2014年 Y.X. All ...
分类:其他好文   时间:2014-05-26 18:16:15    阅读次数:335
单链表
单链表是一种链式存储结构,它可以通过一组任意的存储单元来存储线性表中的数据元素。头文件 声明//// linklist.h// Datastructure//// Created by zhou on 14-5-25.// Copyright (c) 2014年 zhou. All righ...
分类:其他好文   时间:2014-05-25 20:06:02    阅读次数:227
显示进制修改,添加中间变量波形,常用命令modelsim
有二种方式波形文件显示的数值的进制,第一种是直接修改配置文件,第二种是使用do文件时,指定波形的显示进制第一种方法:可以通过修改modelsim安装目录下面的modelsim.ini文件里面的DefaultRadix 值实现; Default radix for all windows and co...
分类:其他好文   时间:2014-05-25 18:45:59    阅读次数:472
hdu4336 Card Collector
Problem DescriptionIn your childhood, do you crazy for collecting the beautiful cards in the snacks? They said that, for example, if you collect all t...
分类:其他好文   时间:2014-05-25 14:05:37    阅读次数:214
HDU-1007-Quoit Design
Problem Description Have you ever played quoit in a playground? Quoit is a game in which flat rings are pitched at some toys, with all the toys encircled awarded. In the field of Cyberground, the ...
分类:其他好文   时间:2014-05-25 11:13:53    阅读次数:245
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!