08 2011 档案

摘要:美国《时代周刊》评论曾经有这样一段话,“在21世纪,改变你命运的只有你自己,别期盼有人会来帮助你。从现在开始,‘学习、改变、创业’是通往新世界的唯一道路”。决心创业并已参加培训的学员勇敢地迈出了第一步,只要能吃苦耐劳,勇于开拓,勤于学习,坚忍不拔,一定能实现自己心中的目标。 创业,是一个发现和捕捉机会,并由创造出新颖的产品,提升服务,实现其潜在价值的过程。创业能否成功,与创业者的素质关系极大。创业者需具备哪些特点和素质,不少学者做过研究。 英国的科林·巴罗在《小型企业》一书中提出小企业人的6个特点: ① 全身心投入,努力工作; ② 接受不确定性; ③ 身体健康; ④ 自我约束; ⑤ 阅读全文
posted @ 2011-08-24 14:28 cosmoseeker 阅读(792) 评论(0) 推荐(0) 编辑
摘要:时间复杂度(渐近时间复杂度的严格定义,NP问题,时间复杂度的分析方法,主定理)排序算法(平方排序算法的应用,Shell排序,快速排序,归并排序,时间复杂度下界,三种线性时间排 序,外部排序)数论(整除,集合论,关系,素数,进位制,辗转相除,扩展的辗转相除,同余运算,解线性同余方程,中国剩余定理)指针(链表,搜索判重,邻接表,开散列,二叉树的表示,多叉树的表示)按位运算(and,or,xor,shl,shr,一些应用)图论(图论模型的建立,平面图,欧拉公式与五色定理,求强连通分量,求割点和桥,欧拉回路,AOV问题,AOE问题,最小生成树的三种算法,最短路的三种算法,标号法,差分约束系统,验证二分 阅读全文
posted @ 2011-08-24 13:56 cosmoseeker 阅读(184) 评论(0) 推荐(0) 编辑
摘要:本文是从 The Singular Secret of the Rockstar Programmer 这篇文章翻译而来。别以为是那些软件开发定律,别以为是开发出那些特殊用途的软件,别以为是软件设计技术本身。只有一条真理决定了一个软件程序员的成功还是失败。由于坚持这个真理,一个资深的程序员能在一天的时间里学会一门新的编程语言,而由于不坚持这条真理,一个初级的程序员用十年时间也只能挣到一份糊口的钱、永远是来实现别人的设计、永远不够优秀而得不到晋升的机会。这条真理让你看清了差的程序员和好的程序员的不同之处,好的程序员和伟大的程序员的不同之处,伟大的程序员和能通过自己的技术创造出一个亿万美元价值的程 阅读全文
posted @ 2011-08-23 23:50 cosmoseeker 阅读(107) 评论(0) 推荐(0) 编辑
摘要:Barn RepairIt was a dark and stormy night that ripped the roof and gates off the stalls that hold Farmer John's cows. Happily, many of the cows were on vacation, so the barn was not completely full.The cows spend the night in stalls that are arranged adjacent to each other in a long line. Some s 阅读全文
posted @ 2011-08-19 20:57 cosmoseeker 阅读(207) 评论(0) 推荐(0) 编辑
摘要:Mixing MilkSince milk packaging is such a low margin business, it is important to keep the price of the raw product (milk) as low as possible. Help Merry Milk Makers get the milk they need in the cheapest possible manner.The Merry Milk Makers company has several farmers from which they may buy milk, 阅读全文
posted @ 2011-08-16 23:01 cosmoseeker 阅读(245) 评论(0) 推荐(0) 编辑
摘要:Dual PalindromesMario Cruz (Colombia) & Hugo Rickeboer (Argentina)A number that reads the same from right to left as when read from left to right is called a palindrome. The number 12321 is a palindrome; the number 77778 is not. Of course, palindromes have neither leading nor trailing zeroes, so 阅读全文
posted @ 2011-08-16 13:54 cosmoseeker 阅读(222) 评论(0) 推荐(0) 编辑
摘要:Palindromes are numbers that read the same forwards as backwards. The number 12321 is a typical palindrome.Given a number base B (2 <= B <= 20 base 10), print all the integers N (1 <= N <= 300 base 10) such that the square of N is palindromic when expressed in base B; also print the valu 阅读全文
posted @ 2011-08-16 10:30 cosmoseeker 阅读(208) 评论(0) 推荐(0) 编辑
摘要:View Code 1 /* 2 ID: qyxiang1 3 PROG: namenum 4 LANG: C++ 5 */ 6 #include <fstream> 7 #include<string> 8 #include<iostream> 9 #include<memory.h>10 #include<algorithm>11 12 using namespace std;13 14 ifstream fin("namenum.in");15 ofstream fout("namenum.out& 阅读全文
posted @ 2011-08-15 22:37 cosmoseeker 阅读(250) 评论(0) 推荐(0) 编辑