码迷,mamicode.com
首页 >  
搜索关键字:show all    ( 41857个结果
显示进制修改,添加中间变量波形,常用命令modelsim
有二种方式波形文件显示的数值的进制,第一种是直接修改配置文件,第二种是使用do文件时,指定波形的显示进制第一种方法:可以通过修改modelsim安装目录下面的modelsim.ini文件里面的DefaultRadix 值实现; Default radix for all windows and co...
分类:其他好文   时间:2014-05-25 18:45:59    阅读次数:472
ACdream1020:The Game about KILL
Problem Description Teacher HU and his 40 students were trapped by the brigands. To show their power, the head of the brigands want to select one people to kill. Teacher HU and his 40 students wil...
分类:其他好文   时间:2014-05-25 18:19:44    阅读次数:306
Java 并发专题 : CyclicBarrier 打造一个安全的门禁系统
继续并发专题~ 这次介绍CyclicBarrier:看一眼API的注释: /** * A synchronization aid that allows a set of threads to all wait for * each other to reach a common barrier point. CyclicBarriers are * useful in program...
分类:编程语言   时间:2014-05-25 18:15:06    阅读次数:316
Android强制弹出,隐藏输入法.
当我们弹出一个Dialog时候,如果这个Dialog需要输入数据,然后确定后又需要关闭输入法,一般系统的hide,跟show方法总会有各种问题,最霸道的解决方法就是写一个定时器,定时弹出或者关闭输入法。 import java.util.Timer; import java.util.TimerTask; import android.content.Context; import an...
分类:移动开发   时间:2014-05-25 16:46:04    阅读次数:306
acd The Game about KILL(和约瑟夫归则一样,归律)
Problem Description Teacher HU and his 40 students were trapped by the brigands. To show their power, the head of the brigands want to select one people to kill. Teacher HU and his 40 students wil...
分类:其他好文   时间:2014-05-25 10:02:35    阅读次数:309
ACdream1012:Convex
Problem Description We have a special convex that all points have the same distance to origin point. As you know we can get N segments after linking the origin point and the points on the convex. ...
分类:其他好文   时间:2014-05-25 09:50:19    阅读次数:217
Geeks : Kruskal’s Minimum Spanning Tree Algorithm 最小生成树
寻找图中最小连通的路径,图如下: 算法步骤: 1. Sort all the edges in non-decreasing order of their weight. 2. Pick the smallest edge. Check if it forms a cycle with the spanning tree formed so far. If cycle is n...
分类:其他好文   时间:2014-05-25 07:35:59    阅读次数:301
【Matlab编程】生日快乐歌(显示歌词)—matlab版
clear all A4=440;%标准音A4 不同的曲调音调不同scale的取值范围不同 pt=44100;p0=pt/2;%频率 scale=A4/2^(9/12)*2.^((-12:11)/12);%这里可以调节音调高低,eg:改变式子中的-12:11为0:23 map=[1 3 5 6 8 10 12 13 15 17 18 20 22 24 25];%音符,这个需要看曲谱编码...
分类:其他好文   时间:2014-05-25 07:27:55    阅读次数:1212
acd Convex(求面积)
Problem Description We have a special convex that all points have the same distance to origin point. As you know we can get N segments after linking the origin point and the points on the convex. ...
分类:其他好文   时间:2014-05-25 06:55:54    阅读次数:188
LeetCode: Permutation Sequence [059]
【题目】 The set [1,2,3,…,n] contains a total of n! unique permutations. By listing and labeling all of the permutations in order, We get the following sequence (ie, for n = 3): "123" "132" "213" "231" "312" "321" Given n and k, return the kth permutation ...
分类:其他好文   时间:2014-05-25 06:13:37    阅读次数:276
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!