首页 > 其他
Activity启动模式(lauchMode)
Activity启动模式(lauchMode)本来想针对Activity中的启动模式写篇文章的,后来网上发现有人已经总结的相当好了,在此直接引用过来,并加上自己的一些理解,在此感谢原作者。文章地址:http://blog.csdn.net/liuhe688/article/details/67543...
分类:其他   时间:2015-09-05 11:10:42    收藏:0  评论:0  赞:0  阅读:278
x的平方根
class Solution {public: /** * @param x: An integer * @return: The sqrt of x */ int getResult(long start, long end, long target){ ...
分类:其他   时间:2015-09-05 11:10:12    收藏:0  评论:0  赞:0  阅读:235
HDU 1176 免费馅饼 简单动态规划
#include#include#define N 100010int a[N][12];int max2(int x, int y){ return x>y?x:y;}int max3(int x, int y, int z){ int v=max2(x, y); return ...
分类:其他   时间:2015-09-05 11:10:02    收藏:0  评论:0  赞:0  阅读:227
HDU 1241 油田
这道题明明很简单但不知道为什么运行结果一直错,但提交却是对的!代码真是神奇,不过我猜测可能是提上给出的数据错了,可能提上给的数据m和n后多给了一个空格或回车,但题的数据没有#include#include#define N 110int m, n;char maps[N][N];int dir[8]...
分类:其他   时间:2015-09-05 11:09:32    收藏:0  评论:0  赞:0  阅读:313
Palindrome - URAL - 1297(求回文串)
题目大意:RT分析:后缀数组求回文串,不得不说确实比较麻烦,尤其是再用线段数进行查询,需要注意的细节地方比较多,比赛实用性不高......不过练练手还是可以的。线段数+后缀数组代码如下:=========================================================...
分类:其他   时间:2015-09-05 11:09:12    收藏:0  评论:0  赞:0  阅读:224
Leetcode -- Day 65
Binary TreeQuestion 1Binary Tree Preorder TraversalGiven a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree...
分类:其他   时间:2015-09-05 11:09:02    收藏:0  评论:0  赞:0  阅读:251
HDU1556 color the ball(区间修改,单点查询)
#include #include #include #include #include #include #include #define MAXN 100005int c[MAXN];int lowbit(int x){ return x&(-x);}void update(int x,i...
分类:其他   时间:2015-09-05 11:08:52    收藏:0  评论:0  赞:0  阅读:243
CAnimation-模拟时钟
效果图实现思路该示例通过隐式动画实现表盘通过显示在imageView中的一张图片来实现在表盘上绘制(时分秒)三条直线,分别位于不同的图层,且时针位于最下层,秒针位于最上层设置直线为圆角直线的一段位于表盘的圆心通过NSTimer定时器,使不同的图层定时执行对应的动画实现步骤通过storyboard创建...
分类:其他   时间:2015-09-05 11:08:02    收藏:0  评论:0  赞:0  阅读:274
Xcrysden-2
XCrySDen -- (X-Window) CRYstalline Structures and DENsities Introduction to use.XCrySDen is a crystalline and molecular structure visualisation progra...
分类:其他   时间:2015-09-05 11:07:52    收藏:0  评论:0  赞:0  阅读:400
非类固醇抗炎药
非类固醇类消炎药是指除了类固醇类消炎药之外的所有消炎药,包括阿司匹林及其它由抑制环氧化酵素产生消炎、止痛、解热作用的药物。目录1简介2用途3注意事项简介编辑许多疾病的治疗都要用到消炎药,但大家一听到消炎药,心中往往就起了戒心。其实,每一种药物都会有好的作用及我们不要的副作用。对药物的了解才能让我们既...
分类:其他   时间:2015-09-05 11:07:42    收藏:0  评论:0  赞:0  阅读:248
Boostrap入门(一)
1.第一步:下载Boostrap有关文件Boostrap中文网:http://www.bootcss.com/-->-->2.第二步:如下代码:引入相关文件即可。 Boostrap模板(zqzjs) Hello Word I ...
分类:其他   时间:2015-09-05 11:07:33    收藏:0  评论:0  赞:0  阅读:247
物联网实践
开放式实践平台几个国际上规模比较大的平台有Scinan,Arrayent, COSM/Pachube等,国其中cosm是目前世界上用户量最大的开放物联网平台,他提供了一系列的数据上传手段,让每个人都能通过简单的开源硬件或者单片机,实现传感器数据的上传和存储,还提供了一系列的数据展现方式,比如dash...
分类:其他   时间:2015-09-05 11:06:32    收藏:0  评论:0  赞:0  阅读:335
ueditor样式过滤问题
1.4.3版本样式过滤处理如下: if (domUtils.isEmptyNode(me.body)) { //alert("xx"); //me.body.innerHTML = '' + (browser.ie ? '' : '') + ''; me.body.innerHTML = (brow...
分类:其他   时间:2015-09-05 11:05:42    收藏:0  评论:0  赞:0  阅读:297
EntityFramework.Extended 实现Linq 动态查询和动态条件
找了很久的的关于EF 实现动态查询及条件,最后发现使用EntityFramework.Extended最为简单。1. 引用EntityFramework.Extended (自己在Nuget下载) using EntityFramework.Extensions;using System.Linq....
分类:其他   时间:2015-09-05 11:05:22    收藏:0  评论:0  赞:0  阅读:301
膝盖结构介绍
骨头bone用于支持身体和移动两个多多个骨头相聚的地方叫做关节joint关节分为:不可移动,很少移动,可自由移动三类膝关节就是自由移动类滑膜synovial membrane包裹着膝关节滑膜炎synovial fluid 给关节软骨(cartilage)润滑和提供营养软骨覆盖着骨头末端,让膝关节自由...
分类:其他   时间:2015-09-05 11:04:52    收藏:0  评论:0  赞:0  阅读:895
LeetCode -- Valid Anagram
Given two stringssandt, write a function to determine iftis an anagram ofs.For example,s= "anagram",t= "nagaram", return true.s= "rat",t= "car", retur...
分类:其他   时间:2015-09-05 11:03:32    收藏:0  评论:0  赞:0  阅读:216
R cannot be resolved to a variable 解决办法
Android开发过程中,碰到R cannot be resolved to a variable的报错信息,好像没有很确定的错误原因,一般来说,我总结出几个可能的解决方法,希望试过以后管用。。。1. 检查Android 的SDK是否丢失需要重新下载,检查build path2.确保class没有i...
分类:其他   时间:2015-09-05 11:03:02    收藏:0  评论:0  赞:0  阅读:208
(广搜)Dungeon Master -- poj -- 2251
链接:http://poj.org/problem?id=2251Time Limit:1000MSMemory Limit:65536KTotal Submissions:21370Accepted:8299DescriptionYou are trapped in a 3D dungeon an...
分类:其他   时间:2015-09-05 11:02:02    收藏:0  评论:0  赞:0  阅读:243
EditText属性详解
关于EditText属性详解很详细的记录,转过来收着1、EditText输入的文字为密码形式的设置(1)通过.xml里设置:把该EditText设为:android:password="true"// 以”.”形式显示文本(2)在代码里设置:通过设置EditText的setTransformatio...
分类:其他   时间:2015-09-05 11:01:32    收藏:0  评论:0  赞:0  阅读:313
HDU 4336——Card Collector——————【概率dp】
Card CollectorTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3407Accepted Submission(s): 1665Spec...
分类:其他   时间:2015-09-05 11:01:22    收藏:0  评论:0  赞:0  阅读:252
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!