09 2015 档案

摘要:Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest... 阅读全文
posted @ 2015-09-28 22:23 小金乌会发光-Z&M 阅读(437) 评论(0) 推荐(0)
摘要:Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express... 阅读全文
posted @ 2015-09-28 20:33 小金乌会发光-Z&M 阅读(243) 评论(0) 推荐(0)
摘要:今天学习廖老师的python教程,碰到了修饰符'@',不太了解,查看了下官方文档。简单的整理下:@dec2@dec1def func(arg1, arg2, ...): pass 等价于def func(arg1, arg2, ...): passfunc = dec2(dec1(fun... 阅读全文
posted @ 2015-09-12 22:30 小金乌会发光-Z&M 阅读(1000) 评论(0) 推荐(0)