问题描述:
思路分析:
编写程序:
show you code...
分类:
其他好文 时间:
2014-06-07 02:06:34
阅读次数:
245
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
60款开源云应用【Part 1】(60 Open Source Apps You Can Use in the Cloud)
本篇翻译自http://www.datamation.com/open-source/60-open-source-apps-you-can-use-in-the-cloud-1.html,原作者Cynthia
Harvey。
本人对云服务也是没有了解太多,希...
分类:
移动开发 时间:
2014-06-05 09:57:12
阅读次数:
609
Problem Description:
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete at most two transa...
分类:
其他好文 时间:
2014-06-05 09:33:52
阅读次数:
342
Ubuntu 安装oepnssh 报错
有时候由于linux版本不够新,或者安装的包不知是什么原因坏了。报如下错误
unable to correct the problems, you have held broken prckages
可以用如下命令解决
sudo apt-get autoclean
sudo apt-get autoremov...
分类:
其他好文 时间:
2014-06-05 09:31:23
阅读次数:
174
【题目】
You are climbing a stair case. It takes n steps to reach to the top.
Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
【题意】
有个梯子有n阶,每次只能爬1阶或者2阶,为爬到梯子顶共有多少种爬法
【思路】
依次确定跳到每一阶上的爬法数目
这其实是一...
分类:
其他好文 时间:
2014-06-05 07:16:08
阅读次数:
203
??
Description
The country is facing a terrible civil war----cities in the country are divided into two parts supporting different leaders. As a merchant, Mr. M does not pay attention to politic...
分类:
其他好文 时间:
2014-06-05 00:16:43
阅读次数:
266
【题目】
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that is, pack as many words as you can in each line. Pad ...
分类:
其他好文 时间:
2014-06-04 22:37:46
阅读次数:
389
24 Point game
时间限制:3000 ms | 内存限制:65535 KB
难度:5
描述
There is a game which is called 24 Point game.
In this game , you will be given some numbers. Your task is to find an expressi...
分类:
其他好文 时间:
2014-06-04 21:06:57
阅读次数:
295