https://blog.csdn.net/jiangyangll/article/details/99675406 报错信息:The Gradle failure may have been because of AndroidX incompatibilities in this Flutter ...
分类:
移动开发 时间:
2020-03-24 10:37:22
阅读次数:
183
1、Refused to execute script from 'URL' because its MIME type ('texthtml') is not executable, a nd strict MIME type checking is enabled 问题出现的原因:静态文件路径错 ...
分类:
其他好文 时间:
2020-03-22 17:32:34
阅读次数:
79
最小路径和。题意是给一个二维矩阵,每个格子上都有一个非负整数。请找出一条从左上角到右下角的路径,使得路径上的数字总和为最小。例子, Example: Input: [ [1,3,1], [1,5,1], [4,2,1] ] Output: 7 Explanation: Because the pat ...
分类:
其他好文 时间:
2020-03-22 12:25:55
阅读次数:
67
A. Bad Ugly Numbers time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given a integ ...
分类:
其他好文 时间:
2020-03-20 12:47:21
阅读次数:
68
错误:NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver 办法:重新装个合适的nvidia-smi驱动 ubuntu-drivers devices看一下推荐安装的驱动版本 比如结果: 就是推荐安装 ...
分类:
其他好文 时间:
2020-03-17 14:09:09
阅读次数:
152
"Link" 如果$l=r$那么我们给它加个特判。(虽然数据里没有) 先写出答案的表达式: $$ \frac{\int_{l_1}^{r_1}\cdots\int_{l_n}^{r_n}|\sum\limits_{i=1}^nx_i|\mathrm dx_n\cdots\mathrm dx_1}{\ ...
分类:
其他好文 时间:
2020-03-17 00:04:11
阅读次数:
79
/ Returns the number of mappings. This method should be used instead of {@link size} because a ConcurrentHashMap may contain more mappings than can be ...
分类:
其他好文 时间:
2020-03-16 12:49:25
阅读次数:
48
背景 我在学习spring cloud alibaba技术栈期间,在学习服务熔断与限流的时候,服务启动发生了以下异常 版本 最后发现这个问题是由于版本冲突造成的,because:spring cloud版本不同,openfeign的版本也不同 修改spring cloud版本为 运行项目 测试服务熔 ...
分类:
编程语言 时间:
2020-03-07 23:45:28
阅读次数:
589
行级锁 对数据库的行记录进行加锁 优点: Fewer lock conflicts when different sessions access different rows. 当不同会话访问不同的行时会减少锁的冲突 Fewer changes for rollbacks. 在回滚的时候会减少修改量 ...
分类:
数据库 时间:
2020-03-07 22:33:16
阅读次数:
116
在 JUC 下包含了一些常用的同步工具类,今天就来详细介绍一下,CountDownLatch,CyclicBarrier,Semaphore 的使用方法以及它们之间的区别。 一、CountDownLatch 先看一下,CountDownLatch 源码的官方介绍。 意思是,它是一个同步辅助器,允许一 ...
分类:
其他好文 时间:
2020-03-06 20:02:20
阅读次数:
59