学习内容来自千锋Mars老师数独教程主要学习内容:1、图形编程2、自定义View类3、FontMmetrics4、单击触摸事件5、碰撞检测6、可用数据计算图形编程基本概念:1、颜色对象Color 安卓系统中的颜色的表示方法(1)、int color = Color.blue; //纯色(2)、int...
分类:
移动开发 时间:
2015-07-26 20:44:22
阅读次数:
242
有一块很长的画布,现在想在这块画布上画一些颜色,不过后面画的颜色会把前面画的颜色覆盖掉,现在想知道画完后这块画布的颜色分布,比如 1号颜色有几块,2号颜色有几块。。。。******************************************************************...
分类:
其他好文 时间:
2015-07-26 20:44:44
阅读次数:
150
题意:区间最大长度为1000000, 三种操作: 区间求和; 区间求最大值; 将节点值更新为当前值与给定值中的最小值(有趣的更新);思路: 暴力线段树。关键在于处理标记,需要维护最大标记,标记覆盖范围,所在区间; 覆盖区域标记起到很关键的作用;#include#i...
分类:
其他好文 时间:
2015-07-26 20:43:26
阅读次数:
179
Description A math instructor is too lazy to grade a question in the exam papers in which students are supposed to produce a complicated formula for t...
分类:
其他好文 时间:
2015-07-26 20:43:23
阅读次数:
144
DescriptionA magic island Geraldion, where Gerald lives, has its own currency system. It uses banknotes of several values. But the problem is, the sys...
分类:
其他好文 时间:
2015-07-26 20:43:33
阅读次数:
133
Submit Status Practice POJ 2559Description A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles...
分类:
其他好文 时间:
2015-07-26 20:42:33
阅读次数:
122
在这物欲横流的时代,多数人认为“时间就是金钱”、“浪费时间就是浪费机会”等等。难道你没有注意到我们缺失更多的是一种耐心、一种沉淀。
分类:
其他好文 时间:
2015-07-26 20:42:29
阅读次数:
119
/****************************************************u-boot版本:u-boot2012.04.01*gcc版本:arm-linux-gcc-4.3.2*服务器:ubuntu12.04******************************...
分类:
其他好文 时间:
2015-07-26 20:44:47
阅读次数:
198
NSArray *documentPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask,YES);//使用C函数NSSearchPathForDirectoriesInDomains来获得沙...
分类:
移动开发 时间:
2015-07-26 20:43:08
阅读次数:
125
转载自【脚本之家】,原文链接:http://www.jb51.net/article/42864.htm提醒大家,Object.prototype.toString().call(param)返回的[object class]中class首字母是大写,像JSON这种甚至都是大写,所以,大家判断的时候...
分类:
Web程序 时间:
2015-07-26 20:42:47
阅读次数:
141
转自:http://demo.netfoucs.com/llp1992/article/details/43768111#CSDN鸿洋:http://blog.csdn.net/lmj623565791爱哥:http://blog.csdn.net/aigestudio老罗:http://blog....
分类:
移动开发 时间:
2015-07-26 20:43:15
阅读次数:
190
php操作xml并插入到数据库中field."')"; mysql_query($sql);echo $tmp->field."";}?> 版权声明:本文博客原创文章。博客,未经同意,不得转载。
分类:
数据库 时间:
2015-07-26 20:42:15
阅读次数:
160
自己制作ssl证书:自己签发免费ssl证书,为nginx生成自签名ssl证书 这里说下Linux 系统怎么通过openssl命令生成 证书。 首先执行如下命令生成一个keyopenssl genrsa -des3 -out ssl.key 1024 然后他会要求你输入这个key文件的密...
分类:
其他好文 时间:
2015-07-26 20:41:29
阅读次数:
312
骑士的移动题目链接:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=83498#problem/E题目:DescriptionA friend of you is doing research on theTraveling Knight ...
分类:
移动开发 时间:
2015-07-26 20:42:37
阅读次数:
154
//// ViewController.swift// SwiftLucky//// Created by buzz on 15/7/26.// Copyright (c) 2015年 lucky. All rights reserved.//import UIKitclass ViewCo...
分类:
编程语言 时间:
2015-07-26 20:41:37
阅读次数:
95
题意:给你一组值,然后询问某个区间的最大值和最小值得差分析:因为没有更新,所以只需要查找即可,节点保存一个最大值最小值就行了******************************************************************#include#include#inclu...
分类:
其他好文 时间:
2015-07-26 20:42:36
阅读次数:
122
SQL Server 的复制技术 包括 订阅和发布 复制的组成部分:发布服务器(出版社),分发服务器(邮局),订阅服务器(读者,接受者) 发布服务器的作用:维护源数据库,由这些数据库出版的数据能够为复制所利用,检测并将所有出版数据的更改发送到分发服务器 分发服务器的作用:分发服务器包括分发数据...
分类:
数据库 时间:
2015-07-26 20:43:22
阅读次数:
223