普通函数作用域 def outer(): outer_var = "i am is a outer var." def inner(): inner_var = "i am is a inner var." print(outer_var) print(inner_var) if __name__ ...
分类:
编程语言 时间:
2021-05-03 12:21:11
阅读次数:
0
题目 注意 符合题意的字符串,除了要是一个回文字符串,还必须由全部由 轴对称字母 组成。 思路 判断是否含有非轴对称字母 判断是否为回文字符串 以下是所有的轴对称字母: AHIMOTUVWXY 这里介绍一个string类型操作,可以快速反转字符串。 string str; reverse(str.b ...
分类:
其他好文 时间:
2021-05-03 12:20:32
阅读次数:
0
The object 'DF__*' is dependent on column '*' - Changing int to double Try this: Remove the constraint DF_Movies_Rating__48CFD27E before changing your ...
分类:
其他好文 时间:
2021-04-30 12:45:29
阅读次数:
0
https://leetcode-cn.com/problems/frog-jump/ 思路: 待补充 class Solution { private Boolean[][] rec; public boolean canCross(int[] stones) { int n = stones.l ...
分类:
其他好文 时间:
2021-04-30 12:33:41
阅读次数:
0
一、前言 ? WPF 使用 BitmapEffect 和 Effect 可以实现阴影、发光、通道、动态模糊等效果,还可以像为 Photoshop 开发滤镜一样开发效果类库。在UIElement 类的成员中拥有BitmapEffect 和 Effect 两个属性,这是因为WPF最早的版本中只有Bitm ...
<PropertyGroup> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendRuntimeIdentifierToOutputPath>false</AppendRuntime ...
分类:
移动开发 时间:
2021-04-29 12:04:19
阅读次数:
0
https://blog.csdn.net/weixin_40217034/article/details/89855118 https://blog.csdn.net/weixin_40217034/article/details/89891242 https://blog.csdn.net/we ...
分类:
移动开发 时间:
2021-04-29 11:46:15
阅读次数:
0
HTML知识点 百度技术学院(视频) MDN官方文档(文档) FreeCodeCamp(实战) CSS知识点 百度技术学院(视频) MDN官方文档(文档) FreeCodeCamp(实战) JS知识点 百度技术学院(视频) blue石川JS教程(视频) MDN官方文档(文档) FreeCodeCam ...
分类:
其他好文 时间:
2021-04-29 11:42:51
阅读次数:
0
Codeforces Round #609 (Div. 1) A 先保留前 \(k\) 位写出当前的答案。如果合法直接输,如果不合法把前 \(k\) 位数字 \(+1\) 重新写 B 将网格图黑白染色,答案是 \(cnt=min(num(black),num(white))\)。可通过二分图匹配或手 ...
分类:
其他好文 时间:
2021-04-28 12:05:14
阅读次数:
0
起因 CentOS7自带Git1.8版本,版本太低。 更新步骤 1 卸载旧版本Git yum remove git 2 下载依赖(环境配置) yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel as ...
分类:
其他好文 时间:
2021-04-27 15:16:15
阅读次数:
0