码迷,mamicode.com
首页 >  
搜索关键字:show variables    ( 20211个结果
vim options
view log vim -- filename in vim :set number 。this can show line number cursor position as reference point ?:look up /:look down ...
分类:系统相关   时间:2020-10-29 09:48:46    阅读次数:31
阶乘,二分查找,字符移动
输出n的阶乘#include<stdio.h>#include<Windows.h>#pragmawarning(disable:4996)intFact(intn){intret=1;for(inti=1;i<=n;i++){ret*=i;}returnret;}intmain(){intn=5;intresult=Fact(n);printf("%d\n
分类:移动开发   时间:2020-10-27 11:34:27    阅读次数:31
MySQL进阶之SQL优化
1、索引的分类 普通索引(单列索引):一个索引只包含单个列,一个表可以有多个; create index idx_brand_name on brand(name); alter table brand add index idx_brand_name(name); show index from ...
分类:数据库   时间:2020-10-27 11:13:40    阅读次数:23
解决pytorch安装下载慢
第一步:换清华源(.condarc),需要注意是http不是https channels: - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ - http://mirrors.tuna.tsinghua.edu.cn/anaconda ...
分类:其他好文   时间:2020-10-22 22:37:06    阅读次数:25
题解「ZJOI2019 语言」
题意简述:求对于树上每个点 \(x\) ,包含它的链的并集的大小之和,也可描述成,求对于树上每个点 \(x\) ,它能够到达的点的个数之和。 不难发现,对于点 \(x\) 而言,通过树上的路径,它能够到达的点一定构成一棵树。并且这棵树上一定含有包含 \(x\) 点的 \(s_i,t_i\) 。那么也 ...
分类:编程语言   时间:2020-10-18 10:07:36    阅读次数:28
liunxzzl
查看liunx系统基本信息 lscpu cpu查看 free -h 内存查看 lsblk 硬盘查看 init 3 关闭可视化窗口 init 6 重启 reboot 重启 host name -i 查看 ip ip addr show 查看网卡 uname -r 查看内核 cat /etc/redha ...
分类:其他好文   时间:2020-10-18 09:48:30    阅读次数:24
HDU3949XOR(在线询问给定集合能组成的异或和第k小的值)
题:http://acm.hdu.edu.cn/showproblem.php?pid=3949 分析:对查询的k进行二进制分解位上线性基的异或和 #include<bits/stdc++.h> using namespace std; #define pb push_back typedef lo ...
分类:其他好文   时间:2020-10-12 20:30:09    阅读次数:29
Mysql-DDL
Mysql为数据库管理系统(DBMS) 使用cmd登录: 先输入Mysql -h ip地址 -P 端口号 -u root -p,然后输入密码。 DDL:数据库定义语言。 DML:数据库操纵语言。 DQL:数据库查询语言。 DCL:数据库控制语言。 ##DDL: 查看已有数据库 show databa ...
分类:数据库   时间:2020-10-10 17:44:10    阅读次数:23
数据库链接池大小设置和相关测试
数据库链接池大小的计算 查看数据库链接池大小 show variables like '%max_connections%'; 设置数据库链接池大小 set GLOBAL max_connections = 10; 简单测试 Siege 介绍 Siege是一个压力测试和评测工具,设计用于WEB开发这 ...
分类:数据库   时间:2020-10-07 21:24:16    阅读次数:30
MySQL 导入数据时 2006-MySQLserver has gone away
MySQL 2006-MySQLserver has gone away MySQL 2006-MySQLserver has gone away 方式一(验证无误): 找到 mysql安装目录下的my.ini配置文件,加入以下代码: max_allowed_packet=2048M wait_ti ...
分类:数据库   时间:2020-10-06 21:23:44    阅读次数:56
20211条   上一页 1 ... 29 30 31 32 33 ... 2022 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!