自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (5)
  • 收藏
  • 关注

原创 LeetCode OJ 系列之151 Reverse Words in a String --Python

Problem:Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".Update (2015-02-12):For C programmers: Try to so

2015-12-09 01:42:17 503

原创 LeetCode OJ 系列之165 Compare Version Numbers --Python

Problem:Compare two version numbers version1 and version2.If version1 > version2 return 1, if version1 version2 return -1, otherwise return 0.You may assume that the version strings are non-

2015-12-09 01:40:18 857

原创 LeetCode OJ 系列之75 Sort Colors --Python

Problem:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.Here, we will use

2015-12-09 01:37:59 711

原创 LeetCode OJ 系列之58 Length of Last Word --Python

Problem:Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word does not exist, return 0.

2015-12-09 01:36:21 774

原创 LeetCode OJ 系列之65 Valid Number --Python

Problem:Validate if a given string is numeric.Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => trueNote: It is intended for the problem state

2015-12-09 01:34:44 1146

原创 LeetCode OJ 系列之66 Plus One --Python

Problem:Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at the head of the list.Answ

2015-12-09 01:32:51 1188

原创 LeetCode OJ 系列之73 Set Matrix Zeroes --Python

Problem:Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.Answer:class Solution(object): def setZeroes(self, matrix): """

2015-12-09 01:31:29 495

原创 LeetCode OJ 系列之118 Pascal's Triangle --Python

Problem:Given numRows, generate the first numRows of Pascal's triangle.For example, given numRows = 5,Return[ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1]]

2015-12-09 01:28:59 647

UNIX环境下C/C++程序的设计(超市帐务管理程序)

编制超市帐务管理程序,假设某超市试营业期间销售若干种商品(不少于10种),请例如根据商品名称、批发价、零售价、进货价格、进货数量、出货数量等,模拟客户购物时的情景,物品名称、数量、购物日期由键盘输入,购物小票基本信息例如包括:小票编号、购物日期、所购商品(名称、数量、单价)、总价格。 1) 编写主菜单; 2) 可以查询该超市商品信息(注意:一般用户和管理员查到的信息是不一样的,例如管理员可查询到商品进货时价格,而一般用户不能); 3) 用户购买完成后,输出用户购物清单(购物小票); 4) 用户可以查询自己购买记录; 5) 客户退货处理程序(牵涉销售额、出货数量),这里退货需要根据购物小票编号; 6) 统计试营业期间的营业额(管理员); 7) 分别按销量和营业额对这些商品进行排序(管理员); 8) 输出利润最高的商品和最低的商品(管理员); 9) 根据库存和销售情况判断这些商品中哪些需要进货、哪些可能需要退货(管理员)。 注:包括用户界面和管理员界面。以上各个功能中未标“(管理员)”者,为管理员和一般用户界面中都包含的功能,标“(管理员)”者为管理员界面中专有。要求中未涵盖的细节部分,同学根据应用场景自己考虑,应尽量符合实际使用情况。

2013-05-15

eclipse环境变量配置

eclipse环境变量设置,绝对可靠,绝对有效,绝对详细!

2013-04-14

编译原理与技术课后答案(清华大学出版社)

编译原理与技术课后答案(清华大学出版社),绝对可靠!

2013-03-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除