容导航 dart:core - numbers, collections, strings, and more dart:async - asynchronous programming dart:math - math and random dart:html - browser-based ap ...
分类:
其他好文 时间:
2019-06-18 20:03:31
阅读次数:
149
在使用JavaScript执行数学方面的任务时,往往要用到浮点运算,且需要精确到某位小数,这就容易造成错误,而且会相当费时。因此,如果你需要做一些高精度的数学计算的编程工作,比如财务或科学计算,那么你一定需考虑使用下面的这些库。 1. numbers.js numbers.js提供了大量的、可用于服 ...
分类:
编程语言 时间:
2019-06-17 17:29:58
阅读次数:
152
Problem 42 https://projecteuler.net/problem=42 The nth term of the sequence of triangle numbers is given by, tn = ½n(n+1); so the first ten triangle n ...
分类:
其他好文 时间:
2019-06-16 13:36:00
阅读次数:
92
视觉编码(Visual Encoding) There are two types of visual encoding variables: planar and retinal. 数据类型: 数量(quantitative) Anything that has exact numbers. Fo ...
分类:
其他好文 时间:
2019-06-16 00:26:27
阅读次数:
134
[编程题] combinations 时间限制:1秒 空间限制:32768K 时间限制:1秒 空间限制:32768K Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. F ...
分类:
编程语言 时间:
2019-06-14 23:31:18
阅读次数:
161
题目链接:https://vjudge.net/problem/UVA-11809 题目翻译摘自《算法禁赛入门经典》 题目大意 计算机常用阶码-尾数的方法保存浮点数。如图所示,如果阶码有 6 位,尾数有 8 位, 可以表达的最大浮点数为$0.111111111_2 * 2^{111111_2}$。注 ...
分类:
其他好文 时间:
2019-06-13 20:23:46
阅读次数:
103
1. 找出两个链表的交点 2. 链表反转 3. 归并两个有序的链表 4. 从有序链表中删除重复节点 5. 删除链表的倒数第 n 个节点 6. 交换链表中的相邻结点 7. 链表求和 8. 回文链表 9. 分隔链表 10. 链表元素按奇偶聚集 链表是空节点,或者有一个值和一个指向下一个链表的指针,因此很 ...
分类:
其他好文 时间:
2019-06-12 14:02:43
阅读次数:
154
域名我们经常接触到,并且一直在用着,都知道域名需要注册费,那么这个价格到底是谁来定的 一、ICANN 全世界域名最高管理机构,叫做ICANN(Internet Corporation for Assigned Names and Numbers)的组织,总部在美国加州。 它原来是美国商务部下面的一个 ...
分类:
其他好文 时间:
2019-06-12 09:13:55
阅读次数:
113
题目:http://acm.hdu.edu.cn/showproblem.php?pid=5181 题解:https://www.cnblogs.com/Miracevin/p/10960717.html 原来卡特兰数的这个问题还能区间DP…… XO ...
分类:
其他好文 时间:
2019-06-11 18:59:36
阅读次数:
85
链接: https://codeforces.com/contest/1176/problem/C 题意: You are given an array a consisting of n integers. Each ai is one of the six following numbers: ...
分类:
其他好文 时间:
2019-06-10 17:15:41
阅读次数:
126