【伪终端】 tty一词源于Teletypes,或者teletypewriters,原来指的是电传打字机,是通过串行线用打印机键盘通过阅读和发送信息的东西,后来这东西被键盘与显示器取代,所以现在叫终端比较合适。 伪终端(pseudo terminal,有时也被称为 pty),pty(虚拟终端)指伪终端 ...
分类:
系统相关 时间:
2021-04-13 11:50:18
阅读次数:
0
using System;using System.Collections.Generic;using System.Text;using System.Text.RegularExpressions; namespace ConsoleApplication1{ class Class1 { pr ...
分类:
其他好文 时间:
2021-04-13 11:44:10
阅读次数:
0
#函数的凸性 1.设$f$是一个下凸函数,且满足$\lim_\limits{x \to-\infty} f(x) = -\infty$ 证明必有 \(\lim_\limits{x \to+\infty} f(x) = +\infty\) ###证明:假设 \(\exists M > 0,\foral ...
分类:
其他好文 时间:
2021-04-12 12:50:47
阅读次数:
0
$\dfrac{a_1+a_2+\cdots+a_n}{n}\ge \sqrt[n]{a_1a_2\cdots a_n}$ ...
分类:
其他好文 时间:
2021-04-12 12:49:59
阅读次数:
0
题意:将正整数 \(n\) 表示成一系列正整数之和,\(n=n_1+n_2+…+n_k\),其中 \(n_1 \geq n_2 \geq …\geq n_k \geq 1,\ k \geq 1\)。正整数 \(n\) 的这种表示称为正整数 \(n\) 的划分。正整数 \(n\) 的不同的划分个数正整 ...
分类:
其他好文 时间:
2021-04-12 12:29:22
阅读次数:
0
Delphi function 函数的返回值,也就是Result,建议直接在函数开始就做一些初始化 例如下面的代码 procedure TForm1.FormCreate(Sender: TObject); var i:Integer; str:string; begin Memo1.Lines.C ...
找到Microsoft.Cpp.Common.props文件 打开然后搜索VC_IncludePath,它里面是依赖一些配置的 以VC_VC_IncludePath为例,搜索VC_VC_IncludePath,发现它里面又依赖一些配置 所以接着搜索VCInstallDir,发现它里面其实是一些注册表 ...
分类:
其他好文 时间:
2021-04-12 12:09:54
阅读次数:
0
#include<cstdio> #include<algorithm> const int N = 1e6 + 1; int n, t[N]; namespace lsh{ int lsh[N], tmp[N]; void init() { for (int i = 1; i <= n; ++i) ...
分类:
编程语言 时间:
2021-04-10 13:40:10
阅读次数:
0
1.新建空白解决方案 EFCoreDemo ,添加一个Api项目 EFCoreDemo.API 和一个类库 EFCoreDemo.Model 2.EFCoreDemo.Model 中使用NuGet添加依赖项 : Microsoft.EntityFrameworkCore Microsoft.Enti ...
分类:
数据库 时间:
2021-04-10 13:06:42
阅读次数:
0
<Page x:Class="Win2DDemo.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/ ...