"更好的阅读体验" Portal Portal1: "Codeforces" Portal2: "Luogu" <! more Description Petya loves lucky numbers. Everybody knows that lucky numbers are positive ...
分类:
其他好文 时间:
2019-08-07 22:43:13
阅读次数:
118
problem 985. Sum of Even Numbers After Queries 参考 1. Leetcode_easy_985. Sum of Even Numbers After Queries; 完 ...
分类:
其他好文 时间:
2019-08-07 19:35:12
阅读次数:
79
problem:https://leetcode.com/problems/longest-consecutive-sequence/ 使用并查集,时间不是严格的O(n) ...
分类:
其他好文 时间:
2019-08-06 14:01:19
阅读次数:
85
A cryptarithmetic puzzle is a mathematical game where the digits of some numbers are represented by letters. Each letter represents a unique digit. Fo ...
分类:
其他好文 时间:
2019-08-06 11:01:04
阅读次数:
98
题目描述思路分析Java代码代码链接题目描述 给定一个整数数组 nums和一个目标值 target,请你在该数组中找出和为目标值的那两个整数,并返回他们的数组下标。你可以假设每种输入只会对应一个答案。但是,你不能重复利用这个数组中同样的元素。示例给定 nums = [2, 7, 11, 15], t... ...
分类:
其他好文 时间:
2019-08-06 01:02:53
阅读次数:
103
Given any permutation of the numbers {0, 1, 2,..., N?1}, it is easy to sort them in increasing order. But what if Swap(0, *) is the ONLY operation tha ...
分类:
其他好文 时间:
2019-08-06 00:27:47
阅读次数:
128
1136 A Delayed Palindrome (20 分) 1136 A Delayed Palindrome (20 分) 1136 A Delayed Palindrome (20 分) Consider a positive integer N written in standard n ...
分类:
其他好文 时间:
2019-08-03 21:41:12
阅读次数:
105
The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elev ...
分类:
其他好文 时间:
2019-08-03 11:19:56
阅读次数:
104
题目链接 "Operation" Problem Description There is an integer sequence a of length n and there are two kinds of operations: 0 l r: select some numbers from ...
分类:
其他好文 时间:
2019-08-02 20:41:15
阅读次数:
83