码迷,mamicode.com
首页 > 2015年04月12日 > 全部分享
git和tortoisegit安装教程
Git和TortoiseGit安装过程和初步测试过程:1.先下载git,网址http://msysgit.github.io/再下载Tortoisegit,网址https://code.google.com/p/tortoisegit/wiki/Download(里面有一个下载中文的包,如果想汉化,...
分类:其他好文   时间:2015-04-12 13:12:01    阅读次数:173
杭电5123 who is the best?
Problem Description There are N people want to choose the best person. Each person select the best person ai, .John wants to know that who received the most number of votes. Input The first line co...
分类:其他好文   时间:2015-04-12 12:10:06    阅读次数:120
【Linux】在Ubuntu中安装Eclipse与Helloworld
在Ubuntu中安装Eclipse之前,必须先如同《【Linux】在Debian配置JDK1.7,与Linux Java Helloworld》(点击打开链接)现在Ubuntu中装好JDK1.7,整个安装过程甚至比Debian的还要简单,安装的过程中,活用好把文件拖进终端,这样就不用输入这么长的路径。Ubuntu与Debian唯一的区别,就是执行命令你通通在前面补个sudo就对了,表示以root用...
分类:系统相关   时间:2015-04-12 12:10:13    阅读次数:178
机器学习 第二讲:矩阵的基本运算
矩阵的基本概念 假设 aij∈Ra_{ij} \in \mathfrak{R}, 其中 i=1,2,...,mi=1,2,...,m; j=1,2,...,nj=1,2,...,n. 我们定义如下的行列式: A=??????a11a21?am1a12a22?am2???a1na2n?amn??????\begin{equation*} \mathbf{A}= \begin{bmatrix}...
分类:其他好文   时间:2015-04-12 12:09:49    阅读次数:172
leetcode-16 3Sum Closest
问题描述: Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would ...
分类:其他好文   时间:2015-04-12 12:08:13    阅读次数:190
Java方法重载与重写(静态分派与动态分派)
?? Java面向对象3个基本特征:继承、封装和多态;多态主要体现在重载和重写; 1、静态分派 静态分派与重载有关,虚拟机在重载时是通过参数的静态类型,而不是运行时的实际类型作为判定依据的;静态类型在编译期是可知的; 1)基本类型 以char为例,按照char>int>long>double>float>double>Character>Serializable>Object>...(变...
分类:编程语言   时间:2015-04-12 12:08:13    阅读次数:1259
14.1 理解不同的并行技术
14.1 理解不同的并行技术在这一节,我们将讨论三种技术,并使用简单的示例进行演示。我们将使用的 .NET并行扩展(Parallel Extensions to .NET),是并行编程库,它是 .NET Framework 4.0 标准的一部分,但是,不幸的是,在早期 .NET 的版本中没有。如果要在 Visual Studio 2008 中体验并行扩展,可以下载 CTP 版本,但有几个命名上的改变...
分类:其他好文   时间:2015-04-12 12:07:06    阅读次数:128
IOS开发之三级控制器的使用与自定义标签工具栏
三级控制器的概念:UITabBarController- ->(管理) UINavigationController -->(管理) UIViewController 下面笔者就分享一下三级控制器的使用 #import "MainTabbarController.h" #import "ProfileViewController.h" #import "GroupViewCon...
分类:移动开发   时间:2015-04-12 12:07:02    阅读次数:185
详解安卓Fragment(碎片化)
Fragment从字面意思理解就是碎片的意思,当然是为了解决安卓各类设备碎片化严重的问题,比如同样一个App在手机上显示效果还不错,但是一旦上了16:9的平板立刻就变了味,使用安卓平板的同学可能体(bei)会(keng)更深,为此Google官方从android 3.0(对应API 11)引入Fragment,简单理解就是把界面分割成很多碎片,然后根据实际要求最后选择性的进行拼接,比如在手机竖屏模...
分类:移动开发   时间:2015-04-12 12:08:24    阅读次数:264
纸牌游戏----蓝桥杯(暴力方法)
蓝桥杯的纸牌游戏,这里我只用了简单的暴力,很费事,其实可以用递归, DP等等来写。 代码: #include #include using namespace std; int main() {     int a[13];         static int count;     int ans = 0;     for(a[0]=0; a[0]     { ...
分类:其他好文   时间:2015-04-12 12:08:34    阅读次数:130
Android中onActivityResult详解
众所周知,根据mvc设计模式,数据是要通过model来传递的,从一个activity(以下简称A)到另外一个activity(以下简称B)如果要传值的话我们可以将model放到intent中(也可以不放),然后在B创建之后取得相应的值;反之,如果从B回传值给A的话,也是可行的,只不过要在A的onActivityResult中接收相应的值。这几种方法各有优缺点,大家自己可以结合实际情况来选择。 本文...
分类:移动开发   时间:2015-04-12 12:07:52    阅读次数:157
UVA 11029 Leading and Trailing(大数n^k的前x位高精度问题)(好题)
Problem C Leading and Trailing Time limit: 2 seconds   Apart from the novice programmers, all others know that you can’t exactly represent numbers raised to some high power. ...
分类:其他好文   时间:2015-04-12 12:07:31    阅读次数:172
Today is a special day for English Topic
IT needs English ,Internationalization needs english ,we need the chance to conquer the world!...
分类:其他好文   时间:2015-04-12 12:06:48    阅读次数:97
GOF23设计模式之中介者模式的理解
?? 中介模式Mediator 场景 假如没有总经理,下面有三个部门,财务部,市场部,研发部。财务部要发工资,让大家和对公司需要跟市场部和研发部都通气。市场部要接个新项目,需要研发部技术支持,需要财务部处理资金。市场部跟各个部门打交道。财务部发钱了,需要跑去和研发部和市场部打交道。研发部研发产品,市场部做调研,销售缺少资金又需要去找财务部。在这种情况下...
分类:其他好文   时间:2015-04-12 12:06:28    阅读次数:123
GOF23设计模式之中介者模式的实现
/**  * 时间:2015年4月12日09:57:11  * 抽象中介类,定义了同事对象到中介者对象的接口  *  */ package com.bjsxt.cn.mediator; public interface Mediator {  public void register(String dname, Deparment d);  public void command...
分类:其他好文   时间:2015-04-12 12:05:09    阅读次数:169
LeetCode Rising Temperature
Given a Weather table, write a SQL query to find all dates' Ids with higher temperature compared to its previous (yesterday's) dates. +---------+------------+------------------+ | Id(INT) | Date(DA...
分类:其他好文   时间:2015-04-12 12:05:42    阅读次数:123
Excel Sheet Column Number--LeetCode
Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB 思路:进制之间...
分类:其他好文   时间:2015-04-12 12:07:16    阅读次数:101
1651条   上一页 1 ... 62 63 64 65 66 67 68 ... 98 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!