Description There are G people in a gang, and a list of various crimes they could commit. The i-th crime generates a profit[i] and requires group[i] g ...
分类:
其他好文 时间:
2020-07-04 13:37:37
阅读次数:
57
方案一: <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" /> 注释掉vue中public文件夹里面的meta标签 方案二: 在styl ...
分类:
移动开发 时间:
2020-07-03 23:45:16
阅读次数:
105
力扣链接:https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof/ 题目描述 给定一棵二叉搜索树,请找出其中第k大的节点。 思路:中序遍历变体 按右->root->左的顺序遍历,并计数K 代码: /** ...
分类:
其他好文 时间:
2020-07-03 23:28:17
阅读次数:
69
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function ...
分类:
其他好文 时间:
2020-07-03 21:49:23
阅读次数:
77
Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your t ...
分类:
其他好文 时间:
2020-07-03 21:48:09
阅读次数:
68
准备工作:新建文件夹,放入cgic.c cgic.h login.c和Makefile(后面新建),登录名为111,密码为222 效果图为: login.html 放到www目录下 <html > <head> <meta http-equiv="Content-Type" content="tex ...
分类:
其他好文 时间:
2020-07-03 21:44:15
阅读次数:
99
在设计图会经常使用到的阴影效果,如何用css3来实现呢?这篇文章主要整理box-shadow的一些好看常用的投影效果。 1、曲面/椭圆投影效果: 代码如下: <style> .shadow_wrap{ width: 100%;background:#E6EEF6;max-width: 600px;m ...
分类:
Web程序 时间:
2020-07-03 21:37:09
阅读次数:
166
JS中数据类型分为两类: 基本数据类型 + 引用数据类型 1.基本数据类型 直接在栈内存中保存数据值,按值访问。 有5种:String字符串、Number数字、 Boolean布尔值、Undefined、Null 当copy数据时,copy到的是数据值本身。基本数据类型的变量与变量之间是独立存在,修 ...
分类:
其他好文 时间:
2020-07-03 21:28:27
阅读次数:
57
HTML 5推出了10个重要的新的表单元素: Color. Date Datetime-local Email Time Url Range Telephone Number Search ...
分类:
Web程序 时间:
2020-07-03 19:42:07
阅读次数:
64
##卡特兰数介绍 有这样一个经典问题,我有2n个游客去景区旅游,每个游客需要支付50元的费用,但是只有n个游客手里刚好有50元,其余n个游客手里都只有100元,那么问,该如何购票才可以完全找零?首先我们考虑所有的情况,就是一个数列,我们选择其中的n个为50,其余n个为100,则根据排列组合数的定义我 ...
分类:
其他好文 时间:
2020-07-03 19:34:49
阅读次数:
121