[toc] Chapter 1.关于类的关键字 1. class,struct与union 1.1简述: ? class是我们最为熟悉的C++类声明的关键字,便不再多提了,而C++的struct相比C中struct而言很不一样了,已经扩充了很多东西,而union是一种一种特殊的类,相比前两者就比较少 ...
分类:
编程语言 时间:
2019-11-06 01:22:55
阅读次数:
91
[TOC] 信号的正交分解 相关系数 $$ C_{12}=\frac{\int_{t_1}^{t_2}f_1(t)f_2(t)dt}{\int_{t_1}^{t_2}f_2^2(t)dt} $$ 正交条件 $$ \int_{t_1}^{t_2}f_1(t)f_2(t)dt=0 $$ 上式为 $f_1 ...
分类:
其他好文 时间:
2019-11-05 20:08:54
阅读次数:
473
1、对于OneToOne、Foreignkey、choices字段可以使用source取出相关信息: class CourseSerializer(serializers.ModelSerializer): # choices字段 degree = serializers.CharField(sou ...
分类:
其他好文 时间:
2019-11-05 18:43:02
阅读次数:
132
解决Chrome插件安装时程序包无效:"CRX_HEADER_INVALID" 本文链接:https://blog.csdn.net/wst0717/article/details/88867047 打开chorme的扩展程序(设置——>更多工具——>扩展程序)chrome://extensions ...
分类:
其他好文 时间:
2019-11-05 16:46:15
阅读次数:
70
链接: https://codeforces.com/gym/102394/problem/F 题意: Harbin, whose name was originally a Manchu word meaning "a place for drying fishing nets", grew fr ...
分类:
其他好文 时间:
2019-11-05 13:36:58
阅读次数:
154
链接: https://codeforces.com/contest/1245/problem/D 题意: Shichikuji is the new resident deity of the South Black Snail Temple. Her first job is as follow ...
分类:
其他好文 时间:
2019-11-05 13:29:48
阅读次数:
116
一,常见圣杯布局 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> /* 圣杯布局 */ body{ margin: 0; padding: 0; display: ...
分类:
其他好文 时间:
2019-11-04 19:59:49
阅读次数:
97
axios的基本特性 axios 是一个基于Promise用于浏览器和node.js 的http客户端 它具有以下特征: + 支持浏览器和node.js + 支持Promise + 能拦截请求和相应 + 自动转换JSON数据 代码: 1 <!DOCTYPE html> 2 <html lang="e ...
分类:
移动开发 时间:
2019-11-04 19:47:09
阅读次数:
98
badge: 普通O(n^2)很容易想到,但是TLE。 ...
分类:
其他好文 时间:
2019-11-04 19:32:06
阅读次数:
92
一、参数说明 语法作用截图 tk.messagebox.showwarning(title='提示', message='你确定要删除吗?') 警告信息弹窗 tk.messagebox.showinfo('提示','你确定要删除吗?') 提示信息弹窗 tk.messagebox.showerror( ...
分类:
其他好文 时间:
2019-11-04 17:34:15
阅读次数:
607