码迷,mamicode.com
首页 >  
搜索关键字:a number whose    ( 27532个结果
JavaScript01
1、与HTML结合方式 1.内部JS 定义<script> 标签体内就是js代码 2.外部JS 定义<script> 通过src属性引入外部的js文件 JS存放位置会影响执行顺序 2、注释 1.单行 // 多行 /**/ 快捷键 ctrl+shift+/ 3、数据类型: 1. number:数字 整 ...
分类:编程语言   时间:2020-06-27 13:17:39    阅读次数:81
复习JavaScript
推荐书本《JavaScript入门经典》《JavaScript语言精粹》 JavaScript的内置对象类型:String对象: 1.length属性 2.indexOf()和lastIndexOf()方法 (查找子串) 没找到返回-1 带有两个参数:需要查找的字符串/开始查找的字符位置(可选) i ...
分类:编程语言   时间:2020-06-27 13:16:24    阅读次数:81
nginx 常用模块整理
©著作权归作者所有:来自51CTO博客作者大飞侠大虾的原创作品 mark一下 性能相关配置 worker_processes number | auto; worker进程的数量;通常应该为当前主机的cpu的物理核心数 worker_cpu_affinity auto [cpumask] #将wor ...
分类:其他好文   时间:2020-06-27 11:58:47    阅读次数:96
1128. Number of Equivalent Domino Pairs
问题: 给出数对构成的数组dominoes,若其中一对数对dominoes[i]和另一对数对dominoes[j]包含两个数字相同(忽略顺序),那么称这两对数对等价, 求给定数组dominoes,有多少对(i,j)为等价数对。 Example 1: Input: dominoes = [[1,2], ...
分类:其他好文   时间:2020-06-27 11:49:35    阅读次数:59
399. Evaluate Division
Equations are given in the format A / B = k, where A and B are variables represented as strings, and k is a real number (floating point number). Given ...
分类:其他好文   时间:2020-06-27 10:08:38    阅读次数:52
0040. Combination Sum II (M)
Combination Sum II (M) 题目 Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidate ...
分类:其他好文   时间:2020-06-27 10:04:01    阅读次数:52
JS基础 - 变量 数组
一、值类型 VS 引用类型 值类型 引用类型 值直接存储在栈中 值存储在堆中,再将堆的地址存到栈中 number, string, boolean, undefined, symbol object, array, null 变量之间赋值 a = b,是指直接将栈中变量a的值复制到变量b的栈空间里面 ...
分类:编程语言   时间:2020-06-27 09:49:29    阅读次数:62
习题6-3 使用函数输出指定范围内的完数 (20分)
本题要求实现一个计算整数因子和的简单函数,并利用其实现另一个函数,输出两正整数m和n(0<m≤n≤10000)之间的所有完数。所谓完数就是该数恰好等于除自身外的因子之和。例如:6=1+2+3,其中1、2、3为6的因子。 函数接口定义: int factorsum( int number ); voi ...
分类:其他好文   时间:2020-06-27 00:26:49    阅读次数:288
leetcode题解之34. 在排序数组中查找元素的第一个和最后一个位置
给定一个按照升序排列的整数数组 nums,和一个目标值 target。找出给定目标值在数组中的开始位置和结束位置。你的算法时间复杂度必须是 O(log n) 级别。如果数组中不存在目标值,返回 [-1, -1]。示例 1:输入: nums = [5,7,7,8,8,10], target = 8输出... ...
分类:编程语言   时间:2020-06-26 16:35:46    阅读次数:41
浙大保研2019年上机题 7-4 Index of Popularity (30分)
7-4 Index of Popularity (30分) The index of popularity (IP) of someone in his/her circle of friends is defined to be the number of friends he/she has i ...
分类:其他好文   时间:2020-06-26 14:39:43    阅读次数:106
27532条   上一页 1 ... 81 82 83 84 85 ... 2754 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!