摘要: A. Detective Book 代码: #include <bits/stdc++.h> using namespace std; const int maxn = 1e4 + 10; int N; int a[maxn]; int maxx = 0; int main() { scanf("% 阅读全文
posted @ 2019-04-15 22:40 丧心病狂工科女 阅读(163) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/longest-word-in-dictionary-through-deleting/ Given a string and a string dictionary, find the longest string in the dict 阅读全文
posted @ 2019-04-15 21:14 丧心病狂工科女 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 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 丧心病狂工科女 阅读(118) 评论(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 丧心病狂工科女 阅读(132) 评论(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 丧心病狂工科女 阅读(106) 评论(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 丧心病狂工科女 阅读(124) 评论(0) 推荐(0) 编辑