首页 > 2015年07月13日 > 全部分享
[Zedboard u-boot Linux系统移植]-ZYBO Zync-7000 Development Board Work Booting Linux on the ZYBO
ZYBO Zync-7000 Development Board Work Booting Linux on the ZYBO本文翻译自:http://www.dbrss.org/zybo/tutorial4.html 本文主要是详细讲解zybo硬件系统搭建,u-boot,linux-kernel移植,linaro文件系统移植。Introduction  If you are new to lin...
分类:数据库技术   时间:2015-07-13 14:03:52    收藏:0  评论:0  赞:0  阅读:528
27 Remove Element
27 Remove Element链接:https://leetcode.com/problems/remove-element/ 问题描述: Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be...
分类:其他   时间:2015-07-13 14:03:42    收藏:0  评论:0  赞:0  阅读:105
hdu 4630 No Pain No Game(线段树+离线操作)
No Pain No Game Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 1769    Accepted Submission(s): 748 Problem Description Life is a g...
分类:其他   时间:2015-07-13 14:03:32    收藏:0  评论:0  赞:0  阅读:191
一句代码搞定,所有页面点击空白处隐藏键盘
首先新建一个appdelegate的分类代码如下:#import "AppDelegate.h" @interface AppDelegate (DismissKeyboard) /** 开启点击空白处隐藏键盘功能 */ - (void)openTouchOutsideDismissKeyboard; @end @implementation AppDelegate (DismissKeyboard...
分类:其他   时间:2015-07-13 14:03:22    收藏:0  评论:0  赞:0  阅读:194
类中重载和重写的区别
函数重载 必须在同一个类中进行 子类无法重载父类的函数,父类同名函数将被名称覆盖 重载是在编译期间根据参数类型和个数决定函数调用 函数重写 必须发生于父类与子类之间 并且父类与子类中的函数必须有完全相同的原型 使用virtual声明之后能够产生多态(如果不使用virtual,那叫重定义) 多态是在运行期间根据具体对象的类型决定函...
分类:其他   时间:2015-07-13 14:03:12    收藏:0  评论:0  赞:0  阅读:227
leetCode 47.Permutations II (排列组合II) 解题思路和方法
Permutations II  Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example, [1,1,2] have the following unique permutations: [1,1,2], [1,...
分类:其他   时间:2015-07-13 14:03:02    收藏:0  评论:0  赞:0  阅读:178
ZOJ 2366 Weird Dissimilarity (简单DP)
题意: 字符c1和c2的距离为d(c1, c2),已知两个字符串s和t,现在要找长度相等的两个字符串a和b,使得s是a的子序列,t是b的子序列,且a和b的距离最小。 思路: 字串和子序列是不一样的。。。。子序列是允许中间 间断 的,而字串必须是连续的...比赛的时候居然理解错了....T_T 这样的话,用最长公共子序列的思路来解决这道题就好啦~ dp[i][j]表示 “第一个串处理到...
分类:其他   时间:2015-07-13 14:02:52    收藏:0  评论:0  赞:0  阅读:224
leetCode 48.Rotate Image (旋转图像) 解题思路和方法
Rotate Image You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up: Could you do this in-place? 思路:其实就是旋转数组,没有什么难度,代码如下: public ...
分类:其他   时间:2015-07-13 14:02:42    收藏:0  评论:0  赞:0  阅读:355
Latex 制作积分规则表格
看过几个 demo 例程之后,实现了自己第一个设计的 Latex 表格\begin{center} \begin{tabular}{l|l|l|l|l|l|l|} \hline \multicolumn{1}{}{}& & \multicolumn{4}{c}{竞猜选择} \\cline{3-7} \multicolumn{1}{}{}& & AA & BA & 平 & AB & BB\\...
分类:其他   时间:2015-07-13 14:02:32    收藏:0  评论:0  赞:0  阅读:219
leetCode 49.Anagrams (回文构词法) 解题思路和方法
Anagrams  Given an array of strings, return all groups of strings that are anagrams. Note: All inputs will be in lower-case. 思路:这题要是解,必须知道什么是回文构词法。所谓回文构词法就是把一个单词的顺序调整,形成新的单词,如”eat“,"tea"就是回...
分类:其他   时间:2015-07-13 14:02:22    收藏:0  评论:0  赞:0  阅读:645
hdu 4496 D-City(并查集)
D-City Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65535/65535 K (Java/Others) Total Submission(s): 2448    Accepted Submission(s): 862 Problem Description Luxer is a really ba...
分类:其他   时间:2015-07-13 14:02:13    收藏:0  评论:0  赞:0  阅读:232
iOS-MD5加密
#import  // Need to import for CC_MD5 access //将字符串进行MD5加密,返回加密后的字符串。 - (NSString *)md5:(NSString *)str {     const char *cStr = [str UTF8String];     unsigned char result[16];     C...
分类:移动平台   时间:2015-07-13 14:02:02    收藏:0  评论:0  赞:0  阅读:237
053第425题
425.Which of the following are included in a transportable tablespace set? (Choose all that apply.) A. The datafiles that make up a self-contained group of tablespaces required for copy B. The syste...
分类:其他   时间:2015-07-13 14:01:52    收藏:0  评论:0  赞:0  阅读:251
排列组合问题:n个数中取m个(Golang实现)
排列组合是一个基本的数学问题,本程序的目标是输出从n个元素中取m个的所有组合。 例如从[1,2,3]中取出2个数,一共有3中组合:[1,2],[1,3],[2,3]。(组合不考虑顺序,即[1,2]和[2,1]属同一个组合)...
分类:其他   时间:2015-07-13 14:01:43    收藏:0  评论:0  赞:0  阅读:349
poj3250 Bad Hair Day
Description Some of Farmer John's N cows (1 ≤ N ≤ 80,000) are having a bad hair day! Since each cow is self-conscious about her messy hairstyle, FJ wants to count the number of other cows that can ...
分类:其他   时间:2015-07-13 14:01:22    收藏:0  评论:0  赞:0  阅读:153
Spring学习笔记——为何使用Spring
在我们的项目中我们可以不用Hibernate、可以不用Struts、可以不用ibatis但是我们几乎每一个项目都用到了Spring,这是为什么?下面让我们分析下Spring有何优点: 1、降低组件之间耦合,实现软件各层之间的解耦 2、可以使用容器提供的众多服务,如:事务管理、消息服务等。当我们使用容器管理事务时,开发人员就不再需要手工控制事务,也不需要处理负责的事务传播。 Hibernate的...
分类:编程语言   时间:2015-07-13 14:01:14    收藏:0  评论:0  赞:0  阅读:117
leetCode 50.Pow(x, n) (x的n次方) 解题思路和方法
Pow(x, n)  Implement pow(x, n). 思路:题目不算难,但是需要考虑的情况比较多。 具体代码如下: public class Solution { public double myPow(double x, int n) { boolean isMin0 = true;//结果负号 if(x > 0 || (n&1) == ...
分类:其他   时间:2015-07-13 14:01:02    收藏:0  评论:0  赞:0  阅读:130
leetCode 51.N-Queens (n皇后问题) 解题思路和方法
N-Queens  The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all distinct solutions to the n-quee...
分类:其他   时间:2015-07-13 14:00:52    收藏:0  评论:0  赞:0  阅读:822
CodeForces 197B Limit
Limit Time Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 197B Description You are given two polynomials: P(x)?=?a0·xn?...
分类:其他   时间:2015-07-13 14:00:42    收藏:0  评论:0  赞:0  阅读:217
UVALive 6957 Hyacinth(读题)
解题:     感觉自己读题能力太差,读了好几遍才读懂。题意是指每个节点有两个频率,而题目给出的边代表这两个节点联通,这两个节点联通,则他们必须有一个相同的频率,现求一方案可以使得联通边用的频率数最多。那么,就是能用新值就用新值,若某个节点两个频率都有了,则取其中一个,赋值给另外一个节点的一个频率即可。最后把,仍未填的频率,填一下就好。 代码: #include #include ...
分类:其他   时间:2015-07-13 14:00:32    收藏:0  评论:0  赞:0  阅读:215
2062条   上一页 1 ... 60 61 62 63 64 ... 104 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!