/*
*Corpyright (c)2013,烟台大学计算机学院
*All right reseved.
*作者:张凯
*完成日期:2014年5月28日
*版本号:v1.0
*输入描述:
*问题描述:
*程序输出:
*问题分析:
*算法设计:
*/
#include
#include
using namespace std;
class CSolid
{
...
分类:
其他好文 时间:
2014-06-07 02:01:08
阅读次数:
183
如下所示 给出2个解法
def euler_problem_18_1():
"""
this problem spend my half-day but noting to finished ,so bad
"""
rows = '''
3
7 4
2 4 6
100 5 9 3
'''
...
分类:
编程语言 时间:
2014-06-07 01:28:18
阅读次数:
261
title:
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
What is the smallest positive number that is
evenly divisible by all of the nu...
分类:
其他好文 时间:
2014-06-07 01:27:37
阅读次数:
229
title:
Largest palindrome product
Problem 4
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91
99.
Find the l...
分类:
其他好文 时间:
2014-06-07 01:24:27
阅读次数:
398
How do I install all developer tools such as GNU GCC C/C++ compilers, make and others, after installing CentOS from a shell prompt?you can following the nest line do ,install almost all development to...
分类:
系统相关 时间:
2014-06-07 01:23:47
阅读次数:
317
无高见
1.缓存
from functools import wraps
lineseq = '==' * 20
def memo( func ):
cache = {}
@wraps( func )
def wrapper( *args ):
result = cache.get( args )
if resul...
分类:
编程语言 时间:
2014-06-05 11:07:06
阅读次数:
324
; WIP Last Changed Rev: 2172
;**************************************************************************************
; Copyright 2011 Aptina Imaging Corporation. All rights reserved. ...
分类:
其他好文 时间:
2014-06-05 10:55:01
阅读次数:
330
总结下python中线程调度机制.
对于线程调度机制而言,同操作系统的进程调度一样,最关键是要解决两个问题:
1.在何时选择挂起当前线程,并选择处于等待的先一个线程呢?
2.在众多等待的线程中,选择哪一个作为激活线程呢?
在python多线程机制中,这个两个问题是有两个层次解决的。
如,进程间的切换,当发生了时钟中断,操作系统响应时钟中断,并在这个时候开始进程的调...
分类:
编程语言 时间:
2014-06-05 10:07:35
阅读次数:
314
DFC - Documentum Foundation Classes
位于Content server和client 之间。 用来做服务端业务逻辑和客制。
BOF- Business Object Framework.
模组。 最重要的两个模组是
1. TBOs --type based objects
2. SBOs-- service based objects
3. Aspec...
分类:
其他好文 时间:
2014-06-05 09:09:06
阅读次数:
264
有个好网站http://www.lfd.uci.edu/~gohlke/pythonlibs/ , 这个网站可以下载许多非官方的python库的安装包。
1.首先去这个网站下载cx_freeze安装包后安装。
2.在C:\PythonXX\Scripts\ 下可以看到cxfreeze-quickstart.bat, XX为版本号
3.运行cxfreeze-quickstart.bat...
分类:
编程语言 时间:
2014-06-05 06:24:55
阅读次数:
350