首页 > 其他
[LeetCode] Permutations
Well, have you solved thenextPermutationproblem? If so, your code can be used in this problem. The idea is fairly simple:sortnumsin ascending order, a...
分类:其他   时间:2015-06-03 00:35:37    收藏:0  评论:0  赞:0  阅读:290
maven依赖配置的一个问题
org.apache.commons com.springsource.org.apache.commons.logging ${apache.commons.version} fakepath com.springsource.net.sf.cglib 1.1...
分类:其他   时间:2015-06-03 00:35:27    收藏:0  评论:0  赞:0  阅读:376
easyUI的iframe子页面操作父页面元素
曾经试过这样的方法 ????? 在iframe子页面获取父页面元素 ????? 代码如下: ????? $(‘#objId‘, parent.document); 这样可以获得父页面的元素,但是调用EasyUI的方法的时候,就会报错。 郁闷了很久很...
分类:其他   时间:2015-06-02 23:33:27    收藏:0  评论:0  赞:0  阅读:474
Junit Test With Selenium Driver
Junits 和 Selenium ? ? Junits 处理的是unit level 的测试;Selenium 处理的是 functional leve 的测试。虽然它们是完全不同,但仍然可以用Junit 来写 Selenium 测试。 一个完整的例子 import?java.util.con...
分类:其他   时间:2015-06-02 23:33:07    收藏:0  评论:0  赞:0  阅读:395
第十一周项目-1
#include #include using namespace std; class Stu   //声明基类 { public: Stu(int n, string nam);  //基类构造函数 void display();          //成员函数,输出基类数据成员 protected:        //(*)访问权限为保护型的数据成员 int num;   ...
分类:其他   时间:2015-06-02 23:31:57    收藏:0  评论:0  赞:0  阅读:295
ChrisRenke/DrawerArrowDrawable源码解析
转载请注明出处 源码下载地址 这次解析的控件DrawerArrowDrawable是一款侧拉抽屉效果的控件,在很多应用上我们都可以看到(例如知乎),控件的github地址为https://github.com/ChrisRenke/DrawerArrowDrawable 大家可以先来看一下控件的效果 这个控件的作者,也写过一篇文章对控件的制作过程做了说明,其中更多的是涉及箭头的...
分类:其他   时间:2015-06-02 23:31:47    收藏:0  评论:0  赞:0  阅读:522
Notification Centers 通知中心
Notification Centers 通知中心 A notification center manages the sending and receiving of notifications. It notifies all observers of notifications meeting specific criteria. The notification infor...
分类:其他   时间:2015-06-02 23:30:57    收藏:0  评论:0  赞:0  阅读:573
hdu1848 Fibonacci again and again(SG函数博弈)
现在换是看不明白SG函数的求法什么的 暂时先当模板题吧 函数mex1就是求g(x) 然后异或 #include #include #include #include using namespace std; int k,fibo[100],f[10001]; int mex1(int p){ int i,t; bool g[101]={0}; for(i=0;i<k...
分类:其他   时间:2015-06-02 23:30:47    收藏:0  评论:0  赞:0  阅读:410
Solution to Triangle by Codility
question: https://codility.com/programmers/lessons/4 we need two parts to prove our solution. on one hand, there is no false triangular. Given the array has been sorted, if A[i]+A[i+1]>A[i+2]...
分类:其他   时间:2015-06-02 23:30:41    收藏:0  评论:0  赞:0  阅读:359
Solution of Codility
Solution of Codilitycodility.com is another great place to improve your programming skill. Train myself , and record here.Lesson 1: Time Complexity Lesson 2: Counting Elements Lesson 3: Prefix Sums...
分类:其他   时间:2015-06-02 23:30:17    收藏:0  评论:0  赞:0  阅读:477
题目1003:A+B
题目描述: 给定两个整数A和B,其表示形式是:从个位开始,每三位数用逗号","隔开。 现在请计算A+B的结果,并以正常形式输出。 输入: 输入包含多组数据数据,每组数据占一行,由两个整数A和B组成(-10^9  输出: 请计算A+B的结果,并以正常形式输出,每组数据占一行。 样例输入: -234,567,890 123,456,7891,234 2,345,678 样例输出: ...
分类:其他   时间:2015-06-02 23:29:57    收藏:0  评论:0  赞:0  阅读:410
HDU1849 Rabbit and Grass()
用异或看取得的值是否为0判断 思想换没搞懂 #include int main() { int ans,n,a; while(scanf("%d",&n),n){ ans=0; while(n--){ scanf("%d",&a); ans=ans^a; } if(a...
分类:其他   时间:2015-06-02 23:29:47    收藏:0  评论:0  赞:0  阅读:356
hdu 1754 I Hate It 线段树 点修改
// hdu 1754 I Hate It 线段树 点修改 // // 不多说,裸的点修改 // // 继续练 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #inc...
分类:其他   时间:2015-06-02 23:29:37    收藏:0  评论:0  赞:0  阅读:397
[BI项目记]-搭建代码管理环境之签入代码
此篇主要介绍如何基于TFS环境创建进行BI项目最简单的代码签入和签出工作。...
分类:其他   时间:2015-06-02 23:28:57    收藏:0  评论:0  赞:0  阅读:363
[BI项目记]-对项目文件进行规划
BI项目中会有很多不同种类的项目,此篇会对这些项目进行一个总结,并且在TFS中进行分类。...
分类:其他   时间:2015-06-02 23:28:37    收藏:0  评论:0  赞:0  阅读:317
Junit使用过程中需要注意的诡异bug以及处理办法
在开发过程中我们有时会遇到狠多的问题和bug,对于在编译和运行过程中出现的问题很好解决,因为可以在错误日志中得到一定的错误提示信息,从而可以找到一些对应的解决办法。但是有时也会遇到一些比较诡异的问题和bug,没有任何的迹象,没有任何的提示它就过去了,但是我们的项目就受到影响运行不起来。别的我们先不说了,就说我在开发中使用的Junit的遇到的一个比较纠结的bug问题吧,这个问题的比较的诡异,困扰了我...
分类:其他   时间:2015-06-02 23:28:17    收藏:0  评论:0  赞:0  阅读:236
ViewPager实现页面切换
先贴出来效果图(切换每个Tab键,页面跟随变化,效果图蓝条增加用户体验) 首先看整体效果图的布局文件吧(很简单,就三部分,分别是Tab栏目、定位蓝条、各个页面(是V4包下的ViewPager)) activity_tab_winter_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res...
分类:其他   时间:2015-06-02 23:28:07    收藏:0  评论:0  赞:0  阅读:387
uva 10791 Minimum Sum LCM
唯一分解定理...
分类:其他   时间:2015-06-02 23:27:50    收藏:0  评论:0  赞:0  阅读:336
Pascal's Triangle II
Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, Return [1,3,3,1]....
分类:其他   时间:2015-06-02 23:27:37    收藏:0  评论:0  赞:0  阅读:257
设计战斗剧情剧情(欢迎探讨)
需求:为已完成的战斗模块,增加一个新手引导,当条件成立时,激活事件。 根据策划给出的文案分析事件:主要是战斗过程中插入对话/引导 (1)战斗--对话--战斗 (2)战斗--指引操作--战斗 现在做的这个游戏类似刀塔传奇的横版闯关,引导中的我方英雄和敌方都是读取配置表,我想到2种方案: 1.观察角色的状态,当角色没血、或者能量值满、或者移动到某点触发事件。但是这样会在原本的逻辑代码...
分类:其他   时间:2015-06-02 23:26:57    收藏:0  评论:0  赞:0  阅读:330
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!