OJ
RoderickLi
这个作者很懒,什么都没留下…
展开
-
[LeetCode] 3 无重复字符的最长子串
给定一个字符串,请你找出其中不含有重复字符的最长子串的长度。输入: "pwwkew"输出: 3解释: 因为无重复字符的最长子串是"wke",所以其长度为 3。 请注意,你的答案必须是 子串 的长度,"pwke"是一个子序列,不是子串。解题思路:维护一个滑动窗口,窗口内元素均为不重复字符,窗口左边界为left,窗口右边界为当前字符的位置i。随着窗口的移动,寻...原创 2020-01-14 21:57:58 · 142 阅读 · 0 评论 -
[POJ] 1001 Exponentiation
ExponentiationTime Limit: 500MS Memory Limit: 10000K Total Submissions: 188955 Accepted: 45370 DescriptionProblems involving the computation of exact values of very large magnitude and p...原创 2019-07-26 21:51:58 · 206 阅读 · 0 评论 -
[POJ] 1002 487-3279
487-3279Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 320280 Accepted: 56657 DescriptionBusinesses like to have memorable telephone numbers. One way to make a telephone numb...原创 2019-08-01 22:46:07 · 265 阅读 · 0 评论 -
[POJ] 1003 Hangover
HangoverTime Limit: 1000MS Memory Limit: 10000K Total Submissions: 142555 Accepted: 69091 DescriptionHow far can you make a stack of cards overhang a table? If you have one card, you can...原创 2019-08-01 23:05:39 · 99 阅读 · 0 评论 -
[POJ] 1004 Financial Management
Financial ManagementTime Limit: 1000MS Memory Limit: 10000K Total Submissions: 206153 Accepted: 78553 DescriptionLarry graduated this year and finally has a job. He's making a lot of mon...原创 2019-08-02 00:09:05 · 119 阅读 · 0 评论 -
[POJ] 1005 I Think I Need a Houseboat
I Think I Need a HouseboatTime Limit: 1000MS Memory Limit: 10000K Total Submissions: 115914 Accepted: 49974 DescriptionFred Mapper is considering purchasing some land in Louisiana to bui...原创 2019-08-02 00:18:22 · 152 阅读 · 0 评论