上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 87 下一页
摘要: https://leetcode.com/problems/h-index/ Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to comp 阅读全文
posted @ 2019-04-15 16:36 _Zlrrr 阅读(126) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/sum-of-even-numbers-after-queries/ We have an array A of integers, and an array queries of queries. For the i-th query v 阅读全文
posted @ 2019-04-15 15:52 _Zlrrr 阅读(135) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/product-of-array-except-self/ Given an array nums of n integers where n > 1, return an array output such that output[i]  阅读全文
posted @ 2019-04-15 01:00 _Zlrrr 阅读(107) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/search-in-rotated-sorted-array-ii/ Suppose an array sorted in ascending order is rotated at some pivot unknown to you be 阅读全文
posted @ 2019-04-15 00:40 _Zlrrr 阅读(126) 评论(0) 推荐(0)
摘要: A. Game 23 #include <bits/stdc++.h> using namespace std; int N, M; int main() { int ans = 0; int cnt = 0; scanf("%d%d", &N, &M); if(N == M) ans = 0; e 阅读全文
posted @ 2019-04-14 23:55 _Zlrrr 阅读(147) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/binary-string-with-substrings-representing-1-to-n/ Given a binary string S (a string consisting only of '0' and '1's) an 阅读全文
posted @ 2019-04-13 09:37 _Zlrrr 阅读(421) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/number-of-digit-one/ Given an integer n, count the total number of digit 1 appearing in all non-negative integers less t 阅读全文
posted @ 2019-04-13 09:16 _Zlrrr 阅读(129) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/sum-of-square-numbers/ Given a non-negative integer c, your task is to decide whether there're two integers a and b such 阅读全文
posted @ 2019-04-13 09:05 _Zlrrr 阅读(139) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/complement-of-base-10-integer/ Every non-negative integer N has a binary representation. For example, 5 can be represent 阅读全文
posted @ 2019-04-13 08:57 _Zlrrr 阅读(284) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/di-string-match/ Given a string S that only contains "I" (increase) or "D" (decrease), let N = S.length. Return any perm 阅读全文
posted @ 2019-04-12 22:56 _Zlrrr 阅读(196) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 87 下一页