A Little Fool

Fool For Free.

博客园 首页 新随笔 联系 订阅 管理

随笔分类 -  Algorithm (算法)

摘要:Problem 17 If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total. If all the numbers from 1 to 1000 (one thousand) inclusive were written out in words, how many letters would be used? NOTE: Do not count spaces or h... 阅读全文
posted @ 2012-09-21 01:07 HenryRead 阅读(511) 评论(0) 推荐(0)

摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include using namespace std;double hornerExp(double a[], int n, double x);int main(){ int n; do... 阅读全文
posted @ 2009-04-06 22:53 HenryRead 阅读(1223) 评论(0) 推荐(0)

摘要:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->#include #include #define NMAX 1000 void RotateVector(char arr[], unsigned int index, unsigne... 阅读全文
posted @ 2009-02-27 22:36 HenryRead 阅读(712) 评论(0) 推荐(0)