Source: PAT A1073 Scientific Notation (20 分) Description: Scientific notation is the way that scientists easily handle very large numbers or very smal ...
分类:
其他好文 时间:
2019-08-29 20:01:26
阅读次数:
115
Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be ...
分类:
其他好文 时间:
2019-08-29 15:27:24
阅读次数:
81
1,MEREQ001 用户出口(user-exit)MEREQ001是针对采购申请的增强,其中FM EXIT_SAPLMEREQ_010可以对采购申请的账户分配进行校验。 EXIT_SAPLMEREQ_010的输入参数,IM_T_EBAN、IM_T_EBKN是更改之后的采购申请和账户分配的值, IM ...
分类:
其他好文 时间:
2019-08-29 11:52:04
阅读次数:
125
"2019 Multi University Training Contest 8" 补题链接: "2019 Multi University Training Contest 8" 1003 "Acesrc and Good Numbers" "HDU 6659" 题意 定义 $f(d, n)$ ...
分类:
其他好文 时间:
2019-08-29 11:13:21
阅读次数:
107
http://codeforces.com/contest/682/problem/A ...
分类:
其他好文 时间:
2019-08-28 13:06:46
阅读次数:
64
Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would ...
分类:
其他好文 时间:
2019-08-28 01:16:26
阅读次数:
80
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2019-08-27 19:34:02
阅读次数:
112
PAT A1001 A+B Format 题目描述: Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas ...
分类:
其他好文 时间:
2019-08-26 15:13:36
阅读次数:
80
题目链接:https://leetcode-cn.com/problems/longest-consecutive-sequence/ 题目大意: 略。 分析: 注意有重复值,序列为空等情况。 代码如下: 1 class Solution { 2 public: 3 int longestConse ...
分类:
其他好文 时间:
2019-08-25 18:21:59
阅读次数:
57
太巧妙了,想了好久都没想出来,居然只是道黄题。。。 用s[j]储存每个数的下界,以大大减少枚举次数;从较小的数据入手,分析解题思路,优化枚举顺序从而优化复杂度。 ...
分类:
其他好文 时间:
2019-08-24 09:40:57
阅读次数:
76