码迷,mamicode.com
首页 >  
搜索关键字:sum root to leaf num    ( 81521个结果
Objective-c学习笔记—— Ubuntu 环境搭建 + HelloWorld
一直想学习IOS手机开发,今天开始涉入该领域。好吧,先从基础开始——搭建开发环境。 系统: Ubuntu 12.04 LTS  64 位 环境搭建步骤: 1、安装编译器 sudo apt-get install gnustep* 2、配置环境变量 # set GNUstep GNUSTEP_ROOT=/usr/share/GNUstep/Makefiles export GNUSTE...
分类:其他好文   时间:2014-05-07 03:41:47    阅读次数:356
Leetcode | Triangle
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:其他好文   时间:2014-05-07 02:55:24    阅读次数:377
文件访问被拒绝 需要管理员权限
新建一个文本文档,打开,输入以下字符Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\shell\runas]@="管理员取得所有权""NoWorkingDirectory"=""[HKEY_CLASSES_ROOT\*\shell\r...
分类:其他好文   时间:2014-05-07 01:30:55    阅读次数:312
IOS 简单画图显示
首先平台的搭建和前面是一样的,创建好根视图 接下来新建一个类即视图是UIView类型命名为MyView 在RootViewController.h文件中导入MyView的头文件 在RootViewController.m文件中- (void)viewDidLoad{ //因为Root...
分类:移动开发   时间:2014-05-07 01:15:37    阅读次数:464
hdu1223
n个数,只能用 F[i][j]=(F[i-1][j]+F[i-1][j-1])*j F[i][j]代表i个数,有j个不同值的情况。比如A 大数模板 #include #include const int MAX =505; struct BigNum { int num[MAX]; int len; } a[51][51]; BigNum Add(...
分类:其他好文   时间:2014-05-06 23:06:51    阅读次数:364
hive实践(hive0.12)
版本:cdh5.0.0+hadoop2.3.0+hive0.12一、原始数据:1. 本地数据[root@node33 data]# ll total 12936 -rw-r--r--. 1 root root 13245467 May 1 17:08 hbase-data.csv [root@node33 data]# head -n 3 hbase-data.csv 1,1.52101,13...
分类:其他好文   时间:2014-05-06 22:24:07    阅读次数:437
第十一周项目1
#include using namespace std; class Stu { public: Stu (int n,string nam); void display(); protected: int num; //学号 string name; //姓名 }; Stu::Stu(int n,st...
分类:其他好文   时间:2014-05-06 21:35:26    阅读次数:292
对Linux的cp命令的思考
关于cp命令:1.将一个文件复制到一个目录中,并保持原文件名。[root@localhosttest]#ls-l total44 drwxr-xr-x2rootroot4096May420:56d1 drwxr-xr-x4rootroot4096May323:00d2 -rw-r--r--1rootroot0May420:54dir1 -rw-rw-r--1zhangfengzhezhangfengzhe0Feb262012helloworld -rw-r..
分类:系统相关   时间:2014-05-06 17:37:37    阅读次数:522
[简明python教程]学习笔记2014-05-05
今天学习了python的输入输出、异常处理和python标准库1.文件通过创建一个file类的对象去处理文件,方法有read、readline、write、close等[root@reed0505]#catusing_file.py #!/usr/bin/python #filename:using_file.py poem=‘‘‘Programingisfun whentheworkisdone usePython!..
分类:编程语言   时间:2014-05-06 17:05:03    阅读次数:448
puppet练习记录一
安装puppet前准备内容规范ip,主机名,防火墙,双机互信,域名解析1、修改ipmaster [root@masteretc]#cat/etc/sysconfig/network-scripts/ifcfg-eth0 #AdvancedMicroDevices[AMD]79c970[PCnet32LANCE] DEVICE=eth0 BOOTPROTO=static ONBOOT=yes HWADDR=00:0c:29:53:d8:5c IPADDR..
分类:其他好文   时间:2014-05-06 16:58:17    阅读次数:533
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!