方案一: <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
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
rem自适应 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <script> var deviceWidth = window.inner ...
分类:
移动开发 时间:
2020-07-03 19:15:14
阅读次数:
92
Turbo译码算法: 1,MAP,Maximum A Posteriori,最大后验概率 2,LOG-MAP,Logarithm Maximum A Posteriori,对数最大后验概率(简化MAP运算,对数将乘除运算转换为加减运算--仍需计算复杂的对数) 3,MAX-LOG-MAP,Maximu ...
分类:
编程语言 时间:
2020-07-03 17:52:32
阅读次数:
82
Maximum Subarray (E) 题目 Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and retur ...
分类:
其他好文 时间:
2020-07-03 09:14:00
阅读次数:
76
Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Input: [1,1,0,1,1,1] Output: 3 Explanation: The first two di ...
分类:
其他好文 时间:
2020-07-02 23:22:50
阅读次数:
99
//使用recursion来计算生成fibonacci series前49个数,并计算程序运行时间 #include <stdio.h> #include <time.h> double fibon(int n) { if (n == 1 || n == 2) return 1; else if ( ...
分类:
其他好文 时间:
2020-07-02 23:17:26
阅读次数:
73
问题描述: 系统版本选择11.0,如下图: 指令集设置armv7 和 arm64 打包出来的app只支持arm64 ,如下图: 解决:修改适配系统版本到iOS10以下即可, 分析: 修改Architectures 为 arm64、armv7 支持的指令集是Architectures 和 Valid ...
分类:
移动开发 时间:
2020-07-01 20:43:00
阅读次数:
191
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0 ...
分类:
移动开发 时间:
2020-06-30 14:52:40
阅读次数:
138
递归Recursion 函数直接或者间接调用自身就是递归; 递归需要有边界条件,递归前进段、递归返回段; 递归一定要有边界条件; 当边界条件不满足的时候,递归前进; 当边界条件满足的时候,递归返回; 斐波那契数列示例: 递归要求: 递归一定要有退出条件,递归调用一定要执行到这个退出条件;没有退出条件 ...
分类:
编程语言 时间:
2020-06-30 14:29:37
阅读次数:
57