上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 57 下一页
摘要: 44. Wildcard Matching 题目链接:https://leetcode.com/problems/wildcard-matching/ Description: Given an input string (s) and a pattern (p), implement wildca 阅读全文
posted @ 2019-01-06 20:08 heyuhhh 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Wpremig和Jhadgre的藏宝图 题目链接:https://ac.nowcoder.com/acm/contest/333/M Description: Jhadgre在生日那天收到了一张神秘的藏宝图,于是他决定和Wpremig分享这张藏宝图,并且去寻宝! 这张藏宝图上总共有N行,每行有M个格 阅读全文
posted @ 2019-01-06 19:50 heyuhhh 阅读(220) 评论(0) 推荐(0) 编辑
摘要: E.Easy Problem Description: Zghh likes number, but he doesn't like writing problem description. So he will just give you a problem instead of telling 阅读全文
posted @ 2019-01-06 19:33 heyuhhh 阅读(302) 评论(0) 推荐(0) 编辑
摘要: Dandan's lunch Description: As everyone knows, there are now n people participating in the competition. It was finally lunch time after 3 hours of the 阅读全文
posted @ 2019-01-06 19:16 heyuhhh 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 45. Jump Game II 题目链接:https://leetcode.com/problems/jump-game-ii/ Description: Given an array of non-negative integers, you are initially positioned a 阅读全文
posted @ 2019-01-06 19:08 heyuhhh 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 42. Trapping Rain Water 题目链接:https://leetcode.com/problems/trapping-rain-water/ Description: Given n non-negative integers representing an elevation m 阅读全文
posted @ 2019-01-05 20:57 heyuhhh 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 41. First Missing Positive 题目链接:https://leetcode.com/problems/first-missing-positive/ Description: Given an unsorted integer array, find the smallest 阅读全文
posted @ 2019-01-05 20:52 heyuhhh 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 4. Median of Two Sorted Arrays 题目链接:https://leetcode.com/problems/median-of-two-sorted-arrays/ Description: There are two sorted arrays nums1 and nums 阅读全文
posted @ 2019-01-05 20:48 heyuhhh 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Good Bye 2018! 题目链接:https://codeforces.com/contest/1091 A. New Year and the Christmas Ornament 题意: 给出三堆数量分别为y,b,r的东西,现在要你从三堆中各选一堆,满足y'+1=b'且b'+1=r' (y 阅读全文
posted @ 2019-01-03 22:31 heyuhhh 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 题目总链接:https://codeforces.com/contest/1096 A. Find Divisible 题意: 给出l,r,在[l,r]里面找两个数x,y,使得y%x==0,保证有解。 题解: 直接输出l,2*l就好啦,但我还是写了个循环... 代码如下: #include <bit 阅读全文
posted @ 2019-01-02 21:30 heyuhhh 阅读(240) 评论(0) 推荐(0) 编辑
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 57 下一页