码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
二叉树的基本操作实现
二叉树需要不断的自己画图并且一步一步的跟着程序走才能明白它的原理: #include <iostream> #include<string.h> #include <stdio.h> #include<stack> #include<queue> using namespace std; typed ...
分类:其他好文   时间:2020-07-02 16:16:56    阅读次数:46
Centos 设置开机进图形界面/终端
版本:CentOS 7 首先: [root@localhost test]# cat /etc/inittab # inittab is no longer used when using systemd. # # ADDING CONFIGURATION HERE WILL HAVE NO EFF ...
分类:其他好文   时间:2020-07-02 16:08:49    阅读次数:72
C#实现一个弹窗监控小程序
一、.实现弹窗淡入淡出等效果即弹窗自动关闭 技术要点: 1.弹窗效果(淡入淡出,自下而上滑入)使用WIN API实现 2.弹出的窗体在一定时间后,自动关闭使用一个timer实现,弹窗开始是,打开timer,到设置时间后,触发timer关闭窗体 代码: using System; using Syst ...
分类:微信   时间:2020-07-02 14:54:45    阅读次数:105
ACwing(基础)---789. 数的范围
789. 数的范围 #include<iostream> #include<vector> #include<algorithm> using namespace std; const int maxn =1e5+10; int a[maxn]; int main() { int n,m,x; ci ...
分类:Windows程序   时间:2020-07-02 13:28:58    阅读次数:71
.Core中使用Serilog
一、在控制台项目中使用 前提:引入Serilog.AspNetCore包 新建一个Serilog帮助类SerilogHelper,定义两种方法,一个是将日志输出到console,一个是将日志输出到文件 using Serilog; using System; using System.IO; nam ...
分类:其他好文   时间:2020-07-02 13:26:09    阅读次数:43
ACwing(基础)---790. 数的三次方根
790. 数的三次方根 #include<iostream> using namespace std; int main() { double x; cin>>x; if(x<0) { cout<<"-"; x=-x; } double l=0,r=x; while(r-l>1e-8) { doub ...
分类:Windows程序   时间:2020-07-02 13:23:01    阅读次数:64
ACwing(基础)--- 高精度
高精度加法 // C = A + B, A >= 0, B >= 0 #include<iostream> #include<vector> using namespace std; vector<int > add(vector<int > &A, vector<int > &B) { vecto ...
分类:Windows程序   时间:2020-07-02 13:22:29    阅读次数:249
ACwing(基础)---排序
快速排序 分治 ①确定分界点:q[l],q[(l+r)/2],q[r] ②调整范围 ③递归处理左右两段 #include<iostream> using namespace std; const int N = 1e5+10; int n; int a[N]; void quick_sort(int ...
分类:编程语言   时间:2020-07-02 11:55:45    阅读次数:58
C#基础——静态变量和静态方法
静态变量和静态方法都必须通过类名来引用。 简单使用示例 using System; class StaticVar { public int x; public static int y; public void PrintInfo(){ Console.WriteLine("非静态变量x={0}" ...
分类:Windows程序   时间:2020-07-02 10:49:57    阅读次数:71
使用python操作MySQL数据库
本文转自https://www.freeaihub.com/article/using-pymysql-to-operate-mysql-in-python.html,该页可在线进行本页内容的实验 本节实验您将先进行MySQL的安装,再安装python的pymysql库,通过这个库连接到MySQL数 ...
分类:数据库   时间:2020-07-02 09:24:02    阅读次数:71
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!