码迷,mamicode.com
首页 > 2015年09月15日 > 全部分享
女友要下岗?Windows 10的Cortana何方妖孽?
Windows 10发布的同时,微软小娜(Cortana)也映入人们的眼帘。作为一款人工智能产品,她有什么实力和人类争宠?且看她十八般武艺,最后还是要打出原形!
分类:Windows程序   时间:2015-09-15 06:59:50    阅读次数:277
Minimum Size Subarray Sum 解答
QuestionGiven an array ofnpositive integers and a positive integers, find the minimal length of a subarray of which the sum ≥s. If there isn't one, re...
分类:其他好文   时间:2015-09-15 06:56:39    阅读次数:122
ISO/IEC 9899:2011 条款6.4.9——注释
ISO/IEC 9899:2011 条款6.4.9——注释
分类:其他好文   时间:2015-09-15 06:57:28    阅读次数:121
c# winform 打包部署 自定义界面 或设置开机启动
添加安装部署项目后,鼠标右键安装项目->视图->注册表, 要使软件在开机就运行,可以在HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run中 添加键值保存软件目录。在这里我们依次添加以上的项,然后在Run中添加键值,键名可以自...
分类:Windows程序   时间:2015-09-15 06:58:35    阅读次数:382
[hdu5439 Aggregated Counting]公式化简,预处理
题意:按下列规则生成一组序列,令f(n)为n这个数在序列中出现的最后一个位置,求f(f(n))的值。1. First, write down 1, 2 on a paper.2. The 2nd number is 2, write down 2 2’s (including the one ori...
分类:其他好文   时间:2015-09-15 06:58:07    阅读次数:183
Android开发之万能适配器
ListView、GridView等等非常多的东西都需要适配器。而如果开发一个app每一个listview都有写一个Adapter的话,那还怎么愉快的玩游戏。。什么是ViewHolider以及的用法和为什么要用?这位博主写的非常好。http://www.cnblogs.com/lichenwei/p...
分类:移动开发   时间:2015-09-15 06:56:35    阅读次数:224
[LeetCode#156] Binary Tree Upside Down
Problem:Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, fl...
分类:其他好文   时间:2015-09-15 06:56:07    阅读次数:147
[hdu5448 Marisa’s Cake]多边形面积,公式化简
题意:给一个凸多边形,求任选若干点形成的多边形的面积和。思路:按一定方向(顺时针或逆时针)对多边形的顶点进行编号,则多边形的面积计算公式为:f1 x f2+ f2x f3 + ... fn-1 x fn+ fn x f1,fi表示从参考点到i的向量。考虑fix fj 在答案中出现的次数,则答案可以写...
分类:其他好文   时间:2015-09-15 06:58:46    阅读次数:212
自定义label及block动画的使用
sender.enabled = NO; CGFloat labW = 150; CGFloat labH = 30; CGFloat labX = (self.superview.frame.size.width -labW)*0.5; CGFloat l...
分类:其他好文   时间:2015-09-15 06:57:25    阅读次数:103
SSMS For Beginner Part 25 to 27
Part 25 DateTime functions in SQL ServerPart 26 IsDate, Day, Month, Year and DateName DateTime functions in SQL ServerPart 27 DatePart, DateAdd and Da...
分类:其他好文   时间:2015-09-15 06:55:52    阅读次数:104
jquery手写实现单页滚动导航
效果说明:点击tab导航,页面滑动到下方相应板块。并且当页面通过鼠标滚动下去时,上方的tab也可以自动切换到当前位置的板块上。代码说明:js中对两个动作分别写,一个是tab点击下滑到相应板块位置;一个是鼠标滚动下去的时候tab判定当前页面滚动高度切换tab。js:$(document).ready(...
分类:Web程序   时间:2015-09-15 06:56:03    阅读次数:221
LeetCode "Zigzag Iterator"
Capable to k-vector input too:class ZigzagIterator { int x; int i; int max_x; vector*> l; void moveon() { int oldi= i...
分类:其他好文   时间:2015-09-15 06:56:31    阅读次数:152
Valid Anagram 解答
QuestionGiven two stringssandt, write a function to determine iftis an anagram ofs.For example,s= "anagram",t= "nagaram", return true.s= "rat",t= "car...
分类:其他好文   时间:2015-09-15 06:55:10    阅读次数:100
Hibernate的单向OneToMany、单向ManyToOne
单向OneToMany一个用户有多张照片,User----->Images是一对多关系,在数据库中Images维护一个外键useid1、在映射关系的主控方Image这边,我们什么都不做。(为什么说Images是主控方呢?因为外键又Images维护)2、在映射关系的被控方User这边,需要添加@One...
分类:Web程序   时间:2015-09-15 06:56:49    阅读次数:165
Android笔记(二十八) Android中图片之简单图片使用
用户界面很大程度上决定了APP是否被用户接收,为了提供友好的界面,就需要在应用中使用图片了,Android提供了丰富的图片处理功能。简单使用图片 使用Drawable对象 为Android应用增加了Drawable资源之后,系统会自动在R.java文件中创建一个索引项:R.drawable....
分类:移动开发   时间:2015-09-15 06:56:28    阅读次数:225
transform、transition 和 animation区别
CSS3中和动画有关的属性有三个transform、transition和animation。下面来一一说明:transform从字面来看transform的释义为改变,使…变形;转换 。这里我们就可以理解为变形。那都能怎么变呢?none 表示不进行变换;rotate 旋转 transfor...
分类:其他好文   时间:2015-09-15 06:55:32    阅读次数:215
FPGA中PIN连接inout类型信号
verilog中处理该问题较为复杂,尤其是当该inout类型信号比较多或者来自第三方IP时。这时候,最佳的处理方法是使用模块原理图设计方式。^_^
分类:其他好文   时间:2015-09-15 06:54:49    阅读次数:151
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!