- 博客(4)
- 收藏
- 关注
原创 leetcode 12. Integer to Roman【Python】模拟
Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.Symbol ValueI 1V 5X 10L 50C 100D ...
2018-07-30 09:30:53 257
原创 leetcode 8. String to Integer (atoi)【Python 正则表达式】
规则好多哦……Implement atoi which converts a string to an integer.The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting...
2018-07-30 08:20:17 299
原创 P2865 [USACO06NOV]路障Roadblocks【次短路】
370通过1K提交题目提供者FarmerJohn2评测方式云端评测标签USACO2006难度提高+/省选-时空限制1000ms / 128MB【P2865】[USACO06NOV]路障Roadblocks - 洛谷 https://www.luogu.org/problemnew/show/P2865题目描述Bessie has moved to a small farm and sometime...
2018-07-11 19:42:25 394 3
原创 leetcode 5 Longest Palindromic Substring【manacher算法】
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.Example 1:Input: "babad"Output: "bab"Note: "aba" is also a valid answer.Example 2:...
2018-07-06 10:33:24 215
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人