码迷,mamicode.com
首页 > 其他好文
九九乘法表(参考网上)
public class XQ { public static void main(String[] args) { for(int i=1;i<=9;i++){ for(int j=1;j<=i;j++){ Sys...
分类:其他好文   时间:2015-12-04 23:01:40    阅读次数:481
九九乘法表
public class Xiaojiujiu { public static void main(String[] args) { int m = 9; for (int i = 1; i <= m; i++) { for (int j = ...
分类:其他好文   时间:2015-12-04 22:58:40    阅读次数:304
hud 2099
#include #include int main(){ int m,n,i,flag; while(scanf("%d%d",&m,&n)!=-1) { flag=0; if(m==0&&n==0) break; for(...
分类:其他好文   时间:2015-12-04 23:00:02    阅读次数:313
GCD 常用操作
GCD多线程操作1)用得最多的操作//获取全局队列 dispatch_queue_tqueue =dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT,0); //异步执行 dispatch_async(queue, ^{ ...
分类:其他好文   时间:2015-12-04 23:00:09    阅读次数:350
Lowest Common Ancestor of a Binary Tree
题目连接https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/Common Ancestor of a Binary TreeDescriptionGiven a binary tree, find the low...
分类:其他好文   时间:2015-12-04 22:59:08    阅读次数:331
在opencv3中利用SVM进行图像目标检测和分类
采用鼠标事件,手动选择样本点,包括目标样本和背景样本。组成训练数据进行训练1、主函数#include "stdafx.h"#include "opencv2/opencv.hpp"using namespace cv;using namespace cv::ml;Mat img,image;Mat ...
分类:其他好文   时间:2015-12-04 22:58:43    阅读次数:731
struts2 转发、重定向概述
转发等参数传递的注解方式:@Action(value = "operatorRoleAction", results = { @Result(name = "view", location = "/bussiness/operatorrole_view.jsp", type = "dispatche...
分类:其他好文   时间:2015-12-04 22:58:44    阅读次数:280
cocos2d-x-3.x (6)简单消息框
消息弹窗利用 Message("内容","标题");将HelloWorldScene,cpp里的bool HelloWorld::init(){ if(!Layer::init()) { return false; } //一直删除到 //写入位置 return true;}就可...
分类:其他好文   时间:2015-12-04 22:56:43    阅读次数:164
位运算
两篇非常好的文章:http://blog.csdn.net/zouliping123/article/details/8995373http://www.cnblogs.com/flying_bat/archive/2008/06/17/1224178.html预备知识对于位运算,大家都很熟悉,基本...
分类:其他好文   时间:2015-12-04 22:56:16    阅读次数:180
回溯法求迷宫问题
回溯法(探索与回溯法)是一种选优搜索法,又称为试探法,按选优条件向前搜索,以达到目标。但当探索到某一步时,发现原先选择并不优或达不到目标,就退回一步重新选择,这种走不通就退回再走的技术为回溯法,而满足回溯条件的某个状态的点称为“回溯点”。本文使用回溯法求解迷宫问题迷宫问题,有一个m行n列的矩阵代表迷...
分类:其他好文   时间:2015-12-04 22:57:01    阅读次数:173
BFS求解迷宫最短路径
本文使用BFS广度优先搜索算法实现求解迷宫的最短路径(C++),使用到了队列先进先出的性质,依次搜索路径直到找到目标出口(如果迷宫能走通)求解到的路径即为该迷宫的最短路径,找到返回true,找不到返回false,本文使用vexmap一个map容器记录队列的搜索路径(记录队列路径的实现有点草率,可以再...
分类:其他好文   时间:2015-12-04 22:57:50    阅读次数:171
【iCore3双核心板】扩展引脚分布
PDF 版下载:http://files.cnblogs.com/files/xiaomagee/iCore3%E6%89%A9%E5%B1%95%E5%BC%95%E8%84%9A%E5%88%86%E5%B8%83V1.0.pdfiCore3 购买链接:https://item.taobao.c...
分类:其他好文   时间:2015-12-04 22:55:07    阅读次数:184
Scrum Meeting day 1
第一次会议No_00:工作情况No_01:任务说明待完成已完成No_10:燃尽图No_11:照片记录No_100:代码/文档签入记录
分类:其他好文   时间:2015-12-04 22:55:50    阅读次数:117
初次拿到板子的兴奋
今天,DE2-115终于拿到手了,按捺不住内心的兴奋,马上试验一下。一个简单的流水灯程序对照书本写好之后,遇到的第一个问题是如何将程序烧进芯片。不过还好,手头资料算是比较充足的。1.程序很简单://===================================================...
分类:其他好文   时间:2015-12-04 22:52:07    阅读次数:240
crontab
crontab系统调度进程。可以使用它在每天的非高峰负荷时间段运行作业,或在一周或一月中的不同时段运行。at 使用它在一个特定的时间运行一些特殊的作业,或在晚一些的非负荷高峰时间段或高峰负荷时间段运行。查看当前的任务 crontab -l 创建一个任务 1. crontab -e 2. vim cr...
分类:其他好文   时间:2015-12-04 22:51:14    阅读次数:121
leetcode Search a 2D Matrix II
题目连接https://leetcode.com/problems/search-a-2d-matrix-ii/Search a 2D Matrix IIDescriptionWrite an efficient algorithm that searches for a value in an m...
分类:其他好文   时间:2015-12-04 22:53:11    阅读次数:136
leetcode Single Number III
题目连接https://leetcode.com/problems/single-number-iii/Single Number IIIDescriptionGiven an array of numbers nums, in which exactly two elements appear o...
分类:其他好文   时间:2015-12-04 22:50:28    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!