如下所示 给出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
进入Aptana官网:http://www.aptana.com/
跳转到下载页面,选择下载Eclipse plugin installation, 发现官网只给出在线更新的网址:
http://download.aptana.com/studio3/plugin/install 但是试过在线更.....
分类:
Web程序 时间:
2014-06-06 18:14:23
阅读次数:
438
[PATCH] Fix an bad variable name erro in runltp
script (/opt/ltp/runltp)Hi All,I got an error for the latest version 20140115 of
ltp project.This erro...
分类:
系统相关 时间:
2014-06-06 17:51:26
阅读次数:
370
python中import一个模块时python解释器的搜索目录顺序:参考python帮助文档The
Module Search PathWhen a module namedspamis imported, the interpreter first
searches for a built-in...
分类:
其他好文 时间:
2014-06-06 09:45:30
阅读次数:
250
This is the beginning of my plan. Or this is a
manifesto, a motivation for me. Note what I read, good or bad, old or new, Tao
or method. Maybe sometim...
分类:
其他好文 时间:
2014-06-05 15:57:51
阅读次数:
373
今天是2014-05-27,今天遇到一个lib问题,再次记录一下。这是一个案例,更是一种解决该问题的方法过程。
当我们在使用sqlplus 登陆unix数据库的时候,有可能出现类似:xxxxxx bad ELF interpreter: No such file or directory的问题。该问题的原因也是lib的问题。正常情况如下:
[root@dg1 ~]# su - oracle
[...
分类:
数据库 时间:
2014-06-05 00:20:29
阅读次数:
371
对于不同文件中的数据,有时候有对应关系,需要进行连接(join),获得一个新的文件以便进行分析。比如有两个输入文件a.txt,b.txt,其中的数据格式分别如下
1 a
2 b
3 c
4 d
1 good
2 bad
3 ok
4 hello
需要将其连接成一个新的如下的文件:
a good
b bad
c ok
d hello
处理步骤可以分成两步:
1.map阶段,将两个输入文件...
分类:
其他好文 时间:
2014-06-01 09:05:01
阅读次数:
325
今天在测试网站的时候,在浏览器中输入http://localhost/时,发生如下错误:HTTP
Error 500.21 - Internal Server ErrorHandler
"WebServiceHandlerFactory-Integrated" has a bad module "M...
分类:
其他好文 时间:
2014-05-29 12:09:49
阅读次数:
192
安装samba:sudo apt-get install
samba修改samba配置:sudo nano /etc/samba/smb.conf修改内容如下去掉 security = user 前#在map to
guest = bad user 行下添加 guest account = pi共享...
分类:
其他好文 时间:
2014-05-27 23:39:38
阅读次数:
283
The 400 Bad Request error displays inside the
Internet browser window, just as web pages do.Cause of 400 Bad Request ErrorsThe
400 Bad Request error i...
分类:
其他好文 时间:
2014-05-27 17:51:33
阅读次数:
278