码迷,mamicode.com
首页 > 2014年07月20日 > 全部分享
uva 1368 - DNA Consensus String
题目上给的样例input格式存在一定问题,行末多空格。 在这上面纠结了几次…… #include #include #include const int maxn = 1100; int A[maxn]; int C[maxn]; int G[maxn]; int T[maxn]; char ans[maxn]; int ans_; int m,n; void judge(int pos) ...
分类:其他好文   时间:2014-07-19 23:26:29    阅读次数:347
IIC总线
Inter IC Bus 由PHILIPS公司推出的,是近年来为d...
分类:其他好文   时间:2014-07-19 23:25:29    阅读次数:429
bootstrap之ScrollTo
ScrollTo package io.appium.android.bootstrap.handler; import com.android.uiautomator.core.UiObject; import com.android.uiautomator.core.UiObjectNotFoundException; import com.android.uiautomato...
分类:其他好文   时间:2014-07-19 23:37:28    阅读次数:376
杭电1879继续畅通工程
继续畅通工程 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 13381    Accepted Submission(s): 5775 Problem Description 省政府“畅通工程”的目标是使全省任何两个村庄...
分类:其他好文   时间:2014-07-19 23:36:28    阅读次数:313
BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第1章节--SharePoint 2013 介绍
本章节中你将学到: 理解什么是SharePoint 了解SharePoint 2013 高级功能区域和用途 理解对于开发人员,这些功能区域和用途的相关性...
分类:其他好文   时间:2014-07-19 23:48:28    阅读次数:253
01背包+卡精度 Hdu 2955
/* ————————————————————————————————————————————————————————————————————————————— author : Grant Yuan time : 2014.7.19 aldorithm: 01背包+卡精度 ——————————————————...
分类:其他好文   时间:2014-07-19 23:47:28    阅读次数:372
简单的dp hdu 数塔(水题)
数塔 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 21314    Accepted Submission(s): 12808 Problem Description 在讲述DP算法的时候,一个经典的例子就是数塔问题,...
分类:其他好文   时间:2014-07-20 09:33:28    阅读次数:196
poj 2524 Ubiquitous Religions
Ubiquitous Religions Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 23262   Accepted: 11464 Description There are so many different religions in the world t...
分类:其他好文   时间:2014-07-19 23:35:28    阅读次数:321
web.xml的执行顺序
web.xml的执行顺序...
分类:Web程序   时间:2014-07-19 23:25:28    阅读次数:207
Uploadify V3.2.1 上传文件报404 Not Found问题解决
今天用uploadify插件做文件上传的功能。当auto置为true的时候,怎么上传都没有问题。把auto置为了false,想让文件随表单一起上传,相同的代码,点击提交都却报404 not found!     很纳闷,这个路径明明是刚刚auto=true时的路径。     无奈现在的项目用Chrome访问没法跟踪自己写的js,也就进不了源码进行debug。google下这方面的原因,...
分类:其他好文   时间:2014-07-20 09:29:18    阅读次数:301
最长递增公共子序列
有奖征资源,博文分享有内涵      6月推荐文章汇总      CSDN博文大赛初赛晋级名单公布      【模板】最长递增公共子序列 分类: 【模板啊模板】 2013-08-01 18:13 262人阅读 评论(0) 收藏 举报 LICS模板 二维: [cpp] view plaincopy #include #...
分类:其他好文   时间:2014-07-20 00:05:39    阅读次数:386
Spring之 -- AOP 是什么?
AOP 是什么? AOP即Aspect Oriented Programming-面向切面编程,可以通过预编译方式和运行期动态代理方式,实现在不修改代码的情况下,给程序动态统一添加功能的一种技术。 AOP是横向插入的一种技术,在不影响业务总体纵向流程的情况下横向切进了一段逻辑。 AOP涉及多个术语,这是AOP的核心: 横切关注点:跨越应用程序多个模块的方法或功能。(软件...
分类:编程语言   时间:2014-07-19 23:27:20    阅读次数:407
最长递增的子序列(模板)
一般情况: [cpp] view plaincopy #include   #include   #include   using namespace std;    int a[1005],dp[1005],n;    int LIS()  {      int i,j,ans,m;      dp[1] = 1;      ans = 1;      for(i = 2...
分类:其他好文   时间:2014-07-20 09:28:19    阅读次数:280
最长公共子序列
[cpp] view plaincopy [cpp] view plaincopy #include #include #include using namespace std; char s1[1000],s2[1000]; int len1,len2,dp[1000][1000],mark[...
分类:其他好文   时间:2014-07-19 23:38:20    阅读次数:402
计算1的个数
__int64 CountOne(__int64 n) { __int64 count =0; if (n ==0) count =0; else if (n >1&& n <10) count =1; else { __int64 highest = n; __int64 bit =0; ...
分类:其他好文   时间:2014-07-19 23:27:20    阅读次数:307
bootstrap之PressKeyCode&&LongPressKeyCode
PressKeyCode package io.appium.android.bootstrap.handler; import com.android.uiautomator.core.UiDevice; import io.appium.android.bootstrap.AndroidCommand; import io.appium.android.bootstrap.Andr...
分类:其他好文   时间:2014-07-19 23:48:19    阅读次数:493
0 1背包模板
# include # include # include # define max(x,y) x>y?x:y; int v[1001];//价值 int w[1001];//重量 int dp[1001][1001]; int main() { int n,m; while(scanf("%d%d",&m,&n)!=EOF) { memset(dp,...
分类:其他好文   时间:2014-07-19 23:38:19    阅读次数:309
779条   上一页 1 ... 40 41 42 43 44 45 46 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!