摘要: 1.c++高精度 http://blog.csdn.net/code4101/article/details/23020525 手写高精度乘法 #include<bits/stdc++.h> using namespace std; string a1,b1; int jw=0,lena,lenb, 阅读全文
posted @ 2018-03-19 14:39 yosoro 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 引言 在日常的开发工作中,MySQL是使用得最多的关系型数据库。本文将从mysql的索引和慢查询的排查角度出发,分享一些在实际业务中sql优化的经验分享。 1、MySQL索引 索引是对数据库表中一列或多列的值进行排序的一种结构。MySQL索引的建立对于MySQL的高效运行是很重要的,索引可以大大提高 阅读全文
posted @ 2023-05-15 00:35 yosoro 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1.MySQL的基本架构 1.1 基本架构 一条MySQL的语句执行过程 1.2 储存引擎 官网5.7版本支持的10种存储引擎: MyISAM: 拥有较高的插入,查询速度,但不支持事务InnoDB :5.5.8版本后Mysql的默认数据库引擎,支持ACID事务,支持行级锁定BDB: 源自Berkel 阅读全文
posted @ 2022-05-18 14:37 yosoro 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 第一部分,配置git和gitee 首先注册一个gitee账号 https://gitee.com/ 一般是使用邮箱 然后下载git客户端 https://git-scm.com/downloads 1. 安装git,一般一直下一步就没问题 2. 在资源管理器找一个自己想放置配置文件的目录(路径里不要 阅读全文
posted @ 2021-09-30 22:18 yosoro 阅读(107) 评论(0) 推荐(0) 编辑
摘要: java大数类的模幂计算中,其中比较核心部分就是使用一种窗口算法来优化乘法,然后使用Montgomery取模乘的办法加速取模。 在jdk中,它的源码如下: private BigInteger oddModPow(BigInteger y, BigInteger z) { /* * The algo 阅读全文
posted @ 2021-07-29 17:56 yosoro 阅读(504) 评论(0) 推荐(0) 编辑
摘要: https://nanti.jisuanke.com/t/41299 指数循环节,快速幂递归求解,需要注意的是快速幂乘的时候如果超过了m需要+m补全循环节 阅读全文
posted @ 2019-09-03 13:57 yosoro 阅读(218) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/gym/102028/problem/F F. Honeycomb time limit per test 4.0 s memory limit per test 1024 MB input standard input output standard o 阅读全文
posted @ 2019-05-19 23:02 yosoro 阅读(157) 评论(0) 推荐(0) 编辑
摘要: C. Neko does Maths time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Neko does Maths tim 阅读全文
posted @ 2019-04-25 13:08 yosoro 阅读(903) 评论(0) 推荐(0) 编辑
摘要: D. The Beatles time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Recently a Golden Circle o 阅读全文
posted @ 2019-04-13 01:50 yosoro 阅读(131) 评论(0) 推荐(0) 编辑
摘要: F. Graph Without Long Directed Paths time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output F. 阅读全文
posted @ 2019-04-03 20:51 yosoro 阅读(99) 评论(0) 推荐(0) 编辑
摘要: D. Equalize Them All time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Equalize Them Al 阅读全文
posted @ 2019-04-03 18:33 yosoro 阅读(143) 评论(0) 推荐(0) 编辑