来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/rotate-image 给定一个 n × n 的二维矩阵 matrix 表示一个图像。请你将图像顺时针旋转 90 度。 你必须在 原地 旋转图像,这意味着你需要直接修改输入的二维矩阵。请不要 使用 ...
分类:
其他好文 时间:
2021-05-24 10:31:00
阅读次数:
0
cubemx是图形配置软件, 可以节省往常配置IO口的时间, cubemx主推hal库, 它是生成keil工程的工具 cubemx生成的工程可以用keilv5编程软件来编辑... 用Cube mx定义引脚建立工程非常方便比keil简直好太多了,不过编写代码不行(CubeIDE还行,不习惯),所以用c ...
分类:
其他好文 时间:
2021-05-24 09:47:57
阅读次数:
0
const routers= [ { path:'/', name:'F', component:FP }, { path:'/secondpage', component:()=>import('../views/secondpage.vue') }, { path:'/thirdpage', c ...
分类:
其他好文 时间:
2021-05-24 09:30:56
阅读次数:
0
月饼是久负盛名的中国传统糕点之一,自唐朝以来,已经发展出几百品种。 若想评比出一种“最好吃”的月饼,那势必在吃货界引发一场腥风血雨…… 在这里我们用数字说话,给出全国各地各种月饼的销量,要求你从中找出销量冠军,认定为最好吃的月饼。 输入格式: 输入首先给出两个正整数 N(≤1000)和 M(≤100 ...
分类:
编程语言 时间:
2021-05-24 09:03:24
阅读次数:
0
改变坐标文字: xAxis、yAxis下添加 axisLabel: { show: true, textStyle: { color: '#ffffff' } } 改变其他文字: title、legend、series下添加 textStyle: { color: '#ffffff' } ...
分类:
其他好文 时间:
2021-05-24 08:52:32
阅读次数:
0
例: 根据value值排序 hasd = { 'a': 12, 'c': 7, 'd': 17, 'm': -9 } demo_dict = sorted(hasd.items(),key=lambda x:x[1]) print(demo_dict)[('m', -9), ('c', 7), (' ...
分类:
编程语言 时间:
2021-05-24 08:51:54
阅读次数:
0
关键思路从后往前合并 class Solution { public void merge(int[] nums1, int m, int[] nums2, int n) { int idxm=m-1; int idxn=n-1; int sum=m+n-1; while(idxm>=0&&idxn ...
分类:
移动开发 时间:
2021-05-24 08:38:40
阅读次数:
0
两大部分,一环境,二LVS规则 一、环境 1、两台服务器上安装httpd 服务 yum install httpd -y 2、开启服务,并设置为开机自启 systemctl start httpd systemctl enable httpd 3、新建页面 1)、在RS1 服务器上新建页面RS1 e ...
分类:
其他好文 时间:
2021-05-24 08:18:05
阅读次数:
0
C++提供了4种类型转换操作符来应对不同场合的应用。 操作符 注释 const_cast 去const属性 static_cast 静态类型转换,例如int转换成char dynamic_cast 动态类型转换,如子类和父类的多态类型转换 reinterpret_cast 仅仅重新解释类型,但没有进 ...
分类:
其他好文 时间:
2021-05-24 08:17:13
阅读次数:
0
#拿出当前匹配的test_ca_v2.1最近版本号 latelyTag=$(git describe --match "test_ca_v2.1*" --abbrev=0 --tags $(git rev-list --tags --max-count=1)) #版本前缀 tagPre="test_ ...
分类:
系统相关 时间:
2021-05-24 07:54:48
阅读次数:
0