码迷,mamicode.com
首页 > 其他好文
2015 HUAS Summer Trainning #4~D
Given several segments of line (int the X axis) with coordinates [Li , Ri ]. You are to choose the minimal amount of them, such they would completely ...
分类:其他好文   时间:2015-08-06 22:10:06    阅读次数:100
2015-0806
1、struts2中,Action通过什么方式获得用户从页面输入的数据,又是通过什么方式把其自身的数据传给视图的?解答:1)可以直接通过与表单元素相同名称的数据成员(需要存在符合命名规范set和get方法)获取页面表单数据。2)会把处理好的数据成员放入值栈中,到页面可以使用struts2标签取值就可...
分类:其他好文   时间:2015-08-06 22:10:02    阅读次数:95
太给力了,男人懂得
影片资源下载地址:
分类:其他好文   时间:2015-08-06 22:11:03    阅读次数:115
逻辑回归模型分析
本文主要分两个部分进行讨论,首先介绍最简单的线性回归模型;接着对逻辑回归进行分析1、线性回归-->最小二乘法对于线性回归问题,我们根据自变量的个数将其分为一元线性回归和多元线性回归,本部分先详细介绍一元线性模型,然后将其推广到多元线性模型1)一元线性模型当输入只有一个自变量时,我们称之为一元线性模型...
分类:其他好文   时间:2015-08-06 22:10:59    阅读次数:226
[leedcode 215] Kth Largest Element in an Array
Find thekth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.For exampl...
分类:其他好文   时间:2015-08-06 22:09:52    阅读次数:120
poj 1458 Common Subsequence(最大公共子序列)
#include#include#include#include#include#define INF 30000000#define pai 3.1415926using namespace std;char s1[1000],s2[1000];int dp[1000][1000];int mai...
分类:其他好文   时间:2015-08-06 22:09:09    阅读次数:113
杭电1181--变形课(Dfs)
变形课Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 18149Accepted Submission(s): 6520Problem Descr...
分类:其他好文   时间:2015-08-06 22:10:06    阅读次数:113
文化之旅
题目描述Description有一位使者要游历各国,他每到一个国家,都能学到一种文化,但他不愿意学习任何一种文化超过一次(即如果他学习了某种文化,则他就不能到达其他有这种文化的国家)。不同的国家可能有相同的文化。不同文化的国家对其他文化的看法不同,有些文化会排斥外来文化(即如果他学习了某种文化,则他...
分类:其他好文   时间:2015-08-06 22:08:16    阅读次数:94
Easyui使用记录
我没有很长JS该。通常让兄弟们去获得,但是我遇到了几天Easyui的timespinner使用问题,节能控制值之后动态加载数据,日期部分也将显示。兄弟调试了很长时间也没有发现问题。不可能,刚刚好硬着头皮,周边JS(写我们自己的)没有发现问题。我会怀疑Easyui问题。码是经过混乱了的,但无办法,仅仅...
分类:其他好文   时间:2015-08-06 22:09:23    阅读次数:69
Leetcode(58)题解:Length of Last Word
https://leetcode.com/problems/length-of-last-word/题目:Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the l...
分类:其他好文   时间:2015-08-06 22:07:02    阅读次数:109
misc设备
WatchDog Timer驱动混杂设备Misc(或miscellaneous)驱动是一些拥有着共同特性的简单字符设备驱动。内核抽象出这些特性而形成一些API(在文件drivers/char/misc.c中实现),以简化这些设备驱动程序的初始化。所有的misc设备被分配同一个主设备号MISC_MAJ...
分类:其他好文   时间:2015-08-06 22:06:41    阅读次数:155
LeetCode(38)题解: Count and Say
https://leetcode.com/problems/count-and-say/题目:The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, .....
分类:其他好文   时间:2015-08-06 22:07:25    阅读次数:134
nyoj 95 众数问题【水】
众数问题时间限制:3000ms | 内存限制:65535KB难度:3描述所谓众数,就是对于给定的含有N个元素的多重集合,每个元素在S中出现次数最多的成为该元素的重数,多重集合S重的重数最大的元素成为众数。例如:S={1,2,2,2,3,5},则多重集S的众数是2,其重数为3。现在你的任务是:对于给定...
分类:其他好文   时间:2015-08-06 22:04:47    阅读次数:168
Xml文件的相关操作
Xml文档很久没有用过了,今天开开鲜,新手专区,不喜勿喷,运用的是WinForm编写 XMl文件的创建 /// /// 创建Xml文件 /// /// /// private void btnCreateX...
分类:其他好文   时间:2015-08-06 22:06:48    阅读次数:143
HDU5348——DFS——MZL's endless loop
Problem DescriptionAs we all kown, MZL hates the endless loop deeply, and he commands you to solve this problem to end the loop.You are given an undir...
分类:其他好文   时间:2015-08-06 22:06:12    阅读次数:131
栈和队列总结
一 基础知识1.均为线性表,可以由数组或链表实现栈:先进后出,操作均在栈顶进行队列:先进先出,队尾进,队首出2. STL stack & queuestack 常见操作:s.push(x):入栈 (void类型)s.pop(): 出栈 (void类型,只删除,不返回元素)s.top(): 返回栈顶元...
分类:其他好文   时间:2015-08-06 22:06:23    阅读次数:178
HDU-4249-A Famous Equation(DP)
Problem DescriptionMr. B writes an addition equation such as 123+321=444 on the blackboard after class. Mr. G removes some of the digits and makes it ...
分类:其他好文   时间:2015-08-06 22:04:12    阅读次数:135
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!