Python程序调试:断点调试是必须有的功能,以Pycharm开发工具为例:一、理论知识:1. step into(F7)就是单步执行,遇到子函数就进入并且继续单步执行;2 step over(F8)是在单步执行时,在函数内遇到子函数时不会进入子函数内单步执行,而是将子函数整个执行完再停止,也就是把...
分类:
编程语言 时间:
2014-07-18 21:07:36
阅读次数:
182
可以转化为着色模型dfs + 四色定理 1 #include 2 #include 3 int n,num; 4 int d[100][100]; 5 int c[100]; 6 7 bool ok(int step) 8 { 9 for(int i = 0; i = n) return ...
分类:
其他好文 时间:
2014-07-18 10:18:34
阅读次数:
239
class Solution {private: vector sum; vector step; set can;public: int jump(int A[], int n) { step.clear(), sum.clear(), can.clear()...
分类:
其他好文 时间:
2014-07-17 18:36:56
阅读次数:
221
这题要用BFS去做,要注意的是’x‘,这里可以有优先队列去做,会很简单;另一个要注意的是,a只有一个,r可能有很多个,所以可以用a去找最接近的r;#include #include #include "string.h"using namespace std;struct step{ int x,y...
分类:
其他好文 时间:
2014-07-17 18:13:36
阅读次数:
180
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-07-17 14:03:41
阅读次数:
293
Introduction In the post, we will start to deploy two-tier Teamcenter env step by step. We will use the following two Teamcenter installation tools wh...
分类:
系统相关 时间:
2014-07-17 13:09:01
阅读次数:
1536
First Step:下载VirtualBox-4.1.18-78361-Win
下载地址:http://download.csdn.net/download/tianhuimin/4485395
Second Step:下载CentOS镜像文件
下载地址:http://dl.vmall.com/c05apqd0mk
Oracle VMVirtualBox 4.2...
分类:
系统相关 时间:
2014-07-17 10:34:37
阅读次数:
302
原文出处:http://blogs.microsoft.co.il/blogs/arik/archive/2010/07/12/step-into-net-framework-4-0-source-code.aspx本文将向你展示如何配置Visual Studio 2010逐语句执行.NET Fra...
分类:
Web程序 时间:
2014-07-16 16:53:04
阅读次数:
371
linux临时增加swap空间:step 1: #dd if=/dev/zero of=/home/swap bs=1024 count=500000 注释:of=/home/swap,放置swap的空间; count的大小就是增加的swap空间的大小,1024就是块大小,这里是1K,所以总共...
分类:
系统相关 时间:
2014-07-16 16:49:57
阅读次数:
255
Teamcenter is a business platform and so it is inevitable to install related license server before install Teamcenter server. What’s more, the interf....
分类:
系统相关 时间:
2014-07-16 15:49:17
阅读次数:
432