Given two positive integers n and k. A factor of an integer n is defined as an integer i where n % i == 0. Consider a list of all factors of n sorted ...
分类:
其他好文 时间:
2020-06-29 10:05:07
阅读次数:
60
Given an array of unique integers salary where salary[i] is the salary of the employee i. Return the average salary of employees excluding the minimum ...
分类:
其他好文 时间:
2020-06-29 09:59:02
阅读次数:
56
Given a collection of distinct integers, return all possible permutations. Example: Input: [1,2,3] Output: [ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1, ...
分类:
其他好文 时间:
2020-06-29 09:55:51
阅读次数:
59
Multiply Strings (M) 题目 Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as ...
分类:
其他好文 时间:
2020-06-29 09:55:34
阅读次数:
55
Trapping Rain Water (H) 题目 Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is ...
分类:
移动开发 时间:
2020-06-29 09:29:26
阅读次数:
60
Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set). Note: The solution set must not conta ...
分类:
其他好文 时间:
2020-06-29 00:11:37
阅读次数:
54
[codeforces 1335C] Two Teams Composing 统计技能种类数量+统计同一技能最大数量 https://codeforces.com/contest/1335/problem/C 7 4 2 4 1 4 3 4 统计技能种类数量 4种不同技能 统计同一技能最大数量 技能 ...
分类:
其他好文 时间:
2020-06-28 22:18:27
阅读次数:
90
1.XML是一种可扩展标记语言,标签自定义;功能是存储数据-->做配置文件,在网络中传输;2.和HTML的区别:one:xml标签自定义,HTML标签是预定义two:xml语法严格,HTML语法松散three:xml是存储数据的,HTML是展示效果3.基本语法:one:xml文档的后缀名.xmltw ...
分类:
其他好文 时间:
2020-06-28 18:03:30
阅读次数:
96
cmd.py: # 导入argparse包 import argparse import math # 创建ArgumentParser实例,设置解析器 parser = argparse.ArgumentParser(description='Find the sum of two paramet ...
分类:
其他好文 时间:
2020-06-28 12:51:19
阅读次数:
50
Integer Break (M) 题目 Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. R ...
分类:
其他好文 时间:
2020-06-28 09:27:07
阅读次数:
43