码迷,mamicode.com
首页 > 其他好文
leetcode 链表 Partition List
Partition List  Total Accepted: 19761 Total Submissions: 73252My Submissions Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than ...
分类:其他好文   时间:2014-10-12 01:31:37    阅读次数:317
ISO9001-2008标准(中英文对照)
ISO 9001:2008标准English – Chinese BilingualQuality management system – Requirement质量管理体系– 要求ISO 9001:2008Introduction引言0.1 General总则The adoption of a q...
分类:其他好文   时间:2014-10-12 00:57:07    阅读次数:427
电脑重启后cadence提示license找不到的解决方法
cadence16.X版本破解成功后,不用重启,就能正常运行程序。但有可能出现重启后,打开cadence时提示找不到license的情况,如下图:解决方法为:我的电脑,点右键,选“管理”,在弹出的计算机管理界面中,左侧选“服务和应用程序”中的“服务”,然后在右侧服务列表里找到“CadenceLice...
分类:其他好文   时间:2014-10-12 02:03:37    阅读次数:1381
allegro 的光绘层概念
TOP层:boardgeometry/outlinemanufacturing/photoplot_outlineetch/toppin/topviaclass/topdrawingformat/title_data(加入注释文字,亦可根据习惯在其他层加入)GND层:boardgeometry/ou...
分类:其他好文   时间:2014-10-12 02:03:27    阅读次数:933
UVA 10273 Eat or not to Eat?
直接暴力模拟 。以每次还未被删除的cnt[i]为一周期进行暴力模拟#include #include #include #include #include #include #include #include #include #include #include #include #include ...
分类:其他好文   时间:2014-10-12 01:29:57    阅读次数:207
Leetcode: Reverse Words in a String
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click to show clarification.Cl...
分类:其他好文   时间:2014-10-12 02:03:07    阅读次数:213
2014年四川卷压轴题
已知函数 $f(x)={\rm e}^x-ax^2-bx-1$,其中 $a,b\in \bf R$,${\rm e}=2.71828\cdots$ 为自然对数的底.(1) 设 $g(x)$ 是函数 $f(x)$ 的导函数,求函数 $g(x)$ 在区间 $[0,1]$ 上的最小值;(2) 若 $f(1...
分类:其他好文   时间:2014-10-12 01:12:27    阅读次数:184
无边框对话框的缩放
1、 添加WM_NCHITTEST消息2、 设置对话框属性System Menu 为False。如果不设置添加完代码以后对话框边框出现了箭头,但是窗口大小是固定的。3、 添加代码LRESULT CDialogZoomDlg::OnNcHitTest(CPoint point){ //...
分类:其他好文   时间:2014-10-12 00:55:27    阅读次数:317
一道共线向量的题
已知 $\vec a,\vec b,\vec c$ 两两均不共线,$\vec a + \vec b \parallel \vec c$,$\vec b +\vec c\parallel \vec a$,求证:$\vec a+\vec b+\vec c=\vec 0$.根据题意,$\vec a + \...
分类:其他好文   时间:2014-10-12 00:54:57    阅读次数:183
每日一“酷”之array
array--国定类型数据序列array模块定义一个序列数据结构,看起来和list非常相似,只不过所有成员都必须是相同的基本类型。1、初始化 array实例化时可以提高一个参数来描述允许哪个种数据类型,还可以有一个初始的数据序列存储在数组中。 1 import array2 import bin.....
分类:其他好文   时间:2014-10-12 01:10:57    阅读次数:271
poj2387 spfa求最短路
1 //Accepted 4688 KB 63 ms 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 using namespace std; 9 /** 10 *...
分类:其他好文   时间:2014-10-12 02:33:07    阅读次数:272
struts零配置的简单实现(五)
@results:用于指定响应某个操作的页面 对于页面的指定有两种方式:全局、局部 @Results({ @Result(name="fail", location="fail.jsp") }) public class FinalAction extends BaseAction{ ...
分类:其他好文   时间:2014-10-12 01:26:17    阅读次数:314
工作3年多的程序员
这篇文章有点让人沮丧,属于吐槽,不喜欢的到此可以翻页了。本人工作3年多了,目前在一家互联网公司就职。做着不太熟练地项目。每当任务来的时候我都想怎么做好,每当遇见问题而无法解决的时候我都着急,觉得自己真不是做IT的料。入职将近8个月的时候我的老大说没看到我在前端和后端上有什么优势,甚至在会议上也把这个...
分类:其他好文   时间:2014-10-12 00:35:57    阅读次数:247
今晚的两道 bc
第一道题 Beautiful Palindrome Number,简单组合计数问题,手算打表就好~【第一次 提交竟然 wa了一次 有一个小小的坑在那。。。。 1 /********************************* 2 Author: jusonalien 3 Email : ju....
分类:其他好文   时间:2014-10-12 00:35:47    阅读次数:349
HDU2822 Dogs
一般来说走一步不固定加上的权值的时候最好用优先队列,可以保证最优解;做题目的时候先预先自己走一下路线,如果自己都不会走程序肯定写不出来的啦.要好好分析走的过程,这样才可以一步到位; 1 #include 2 #include 3 #define maxn 1005 4 int n,m; 5 int ...
分类:其他好文   时间:2014-10-12 01:42:07    阅读次数:217
poj2253
此题略坑,%.3lf用g++一直WA,c++过的 1 //Accepted 468 KB 16 ms 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 using namespace std...
分类:其他好文   时间:2014-10-12 02:30:47    阅读次数:194
动态改变对话框可调整大小属性
MFC的对话框CDialog是怎么控制窗口可调整大小的属性的呢?打开资源文件,对话框资源的属性列表中,有一个“Border”项,改变该项的值就可以改变窗口边框风格。实际上windows窗口是否可调整大小,就是根据边框的风格来确定的。窗口风格中与边框有关的值如下:WS_BORDER -Thin-lin...
分类:其他好文   时间:2014-10-12 01:57:07    阅读次数:458
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!