水题就要水的滴水不漏=-=,第一个疗程博主决定按照SPOJ提交人数的顺序开始刷,主要任务在于熟悉Python. 42. Adding Reversed Numbers 题目非常简单Sample input: 324 14358 754305 794 第一行是下面输入的行数,主要说的事儿是把第一个数反...
分类:
编程语言 时间:
2014-06-25 22:44:11
阅读次数:
250
Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["255.2...
分类:
其他好文 时间:
2014-06-25 22:41:33
阅读次数:
274
博主学统计的,学编程多属自学,且入门角度刁钻。用了3年R,深感有掌握一门外语的必要。最近把自己强力掰弯到Python上来,加之自己算法,数据结构学的也十分业余,故拿SPOJ练练手。 刷题之旅开始了。。。 1. Life, the Universe, and Everything 题目用的是STAR ...
分类:
编程语言 时间:
2014-06-25 22:39:23
阅读次数:
282
我最近在玩星际争霸2,感觉到面向对象真是太重要了。有三个种族,每个种族有自己的兵种,一个兵种就是一个类,而且他们的父类都是一个类。 每个单位都有自己的属性和技能,之前学习的c语言是面向过程的,慢慢的也理解到了面向对象在某些地方的重要性。 之前都是在学习算法,实现上用的c语言,看不出来到底有什么区别....
分类:
其他好文 时间:
2014-06-25 22:15:08
阅读次数:
274
因为用的时Ubuntu略低版本的,不想更新版本,但是经常更新内核和其他软件,尤其是最近自己更新python,但是软件更新救出错了,而且不能打开“Languae Support”(软件支持)和ibus输入法,非常烦恼,尝试了很多解决方法,但是都不行,只能再改回来了。改回步骤如下:改回以前的python...
分类:
编程语言 时间:
2014-06-25 22:09:20
阅读次数:
318
问题描述:Time Limit: 10000msCase Time Limit: 1000msMemory Limit: 256MBDescriptionConsider a string set that each of them consists of {0, 1} only. All stri...
分类:
其他好文 时间:
2014-06-25 21:54:20
阅读次数:
258
When using rsync to backup and synchronize configuration files, do remember to close all LibreOffice sessions including the Quick Starter.However, eve...
分类:
其他好文 时间:
2014-06-25 21:51:54
阅读次数:
312
It is strange but interesting to see that all the toolbars in LibreOffice 4.2.4.2 have title bar displayed on Linux operating system (Debian Wheezy wi...
分类:
系统相关 时间:
2014-06-24 14:30:25
阅读次数:
303
Because eps terminal is different from the one for screen display, the font size and line width should all be adjusted as the following example:clist ...
分类:
移动开发 时间:
2014-06-24 14:26:32
阅读次数:
438
By executing show colornames, all the 112 predefined colors will be displayed:gnuplot> show colornamesThere are 112 predefined color names:white #ffff...
分类:
其他好文 时间:
2014-06-24 14:18:02
阅读次数:
181