Typora 1. Markdown 是一种轻量级标记语言,它允许人们使用易读易写的纯文本格式编写文档 1.1 目录 [toc] 2. 结构类操作 2.1 多级标题 # 一级标题 ## 二级标题 ### 三级标题 #### 四级标题 ##### 五级标题 ###### 六级标题 快捷键: 1. Ct ...
分类:
其他好文 时间:
2020-07-10 23:50:53
阅读次数:
72
下面开始列举 #include <stdio.h> #include <stdlib.h> int main(int argc, char* argv[]) { ////输入输出 printf("Hello world!"); printf("\r\n"); printf("Number = %d" ...
分类:
其他好文 时间:
2020-07-10 17:07:05
阅读次数:
77
g++ -std=c++11 testlibc.cpp -shared -fPIC -o libtest.so编译成动态库 gcc main.c libtest.so -o main 编译 ./main ...
分类:
编程语言 时间:
2020-07-10 15:13:59
阅读次数:
122
function toThousands(num) { num = (num || 0).toString(); let number = 0, floatNum = '', intNum = ''; // 判断是否有小数位,有则截取小数点后的数字 if (num.indexOf('.') > 0) ...
分类:
Web程序 时间:
2020-07-10 14:51:25
阅读次数:
79
fastnumbers参考文档: https://fastnumbers.readthedocs.io, 除了提供fast_float,fast_real等函数来加速builtins API外,此包还提供了isreal, isfloat, isint, isintlike等API,方便调用判断输入是 ...
分类:
其他好文 时间:
2020-07-10 14:51:03
阅读次数:
57
number数字类型 包含:常规数字,NaN NaN not a number:不是一个数,但是他率属于数字类型 <script src = "test.js"></script> //test.js //console.log([val]): //console.log("hello word!" ...
分类:
Web程序 时间:
2020-07-10 13:46:13
阅读次数:
97
// 1234 = 1^4 + 2^4 + 3^4 + 4^4; // 341 = 3^3 + 4^3 + 1^3 // 类似于水仙花数 #include <stdio.h> #include <math.h> int digitCount(int n) { //此函数用于获取整数的位数 int i ...
分类:
其他好文 时间:
2020-07-10 11:37:30
阅读次数:
54
Maximum Width of Binary Tree (M) 题目 Given a binary tree, write a function to get the maximum width of the given tree. The width of a tree is the maxim ...
分类:
其他好文 时间:
2020-07-10 10:11:00
阅读次数:
54
Given a binary tree, write a function to get the maximum width of the given tree. The width of a tree is the maximum width among all levels. The binar ...
分类:
其他好文 时间:
2020-07-10 10:07:44
阅读次数:
60
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 ...
分类:
其他好文 时间:
2020-07-10 09:59:09
阅读次数:
61