2015年4月29日
摘要: 题意:(hdu 4734) 我们定义十进制数x的权值为f(x) = a(n)*2^(n-1)+a(n-1)*2(n-2)+...a(2)*2+a(1)*1,a(i)表示十进制数x中第i位的数字。 题目给出a,b,求出0~b有多少个不大于f(a)的数#include #include int mx... 阅读全文
posted @ 2015-04-29 22:44 听风的日子 阅读(154) 评论(0) 推荐(0) 编辑
  2015年4月14日
摘要: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo... 阅读全文
posted @ 2015-04-14 21:46 听风的日子 阅读(132) 评论(0) 推荐(0) 编辑
  2015年4月13日
摘要: You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ... 阅读全文
posted @ 2015-04-13 21:59 听风的日子 阅读(196) 评论(0) 推荐(0) 编辑
  2015年4月9日
摘要: -- 1.Hello world print( "--------------1--------------")print("Hello world");-- 2. function definefunction add(a,b) return a + bendprint( "-------... 阅读全文
posted @ 2015-04-09 21:20 听风的日子 阅读(135) 评论(0) 推荐(0) 编辑
  2015年4月1日
摘要: 1:排版与格式相对独立的程序块之间、变量说明之后必须加空行。一条语句不能过长,如不能拆分需要分行写。一行到底多少字符换行比较合适,产品可以自行确定。多个短语句(包括赋值语句)不允许写在同一行内,即一行只写一条语句。所有的缩进皆为4个空格分隔号(如大括号)应各自独立占一行并且位于同一列,同事与引用他们... 阅读全文
posted @ 2015-04-01 16:23 听风的日子 阅读(298) 评论(0) 推荐(0) 编辑
  2015年3月23日
摘要: 知识点备份 阅读全文
posted @ 2015-03-23 19:18 听风的日子 阅读(850) 评论(0) 推荐(0) 编辑
  2012年5月22日
摘要: 慢慢来,继续AC 阅读全文
posted @ 2012-05-22 15:54 听风的日子 阅读(119) 评论(0) 推荐(0) 编辑