码迷,mamicode.com
首页 >  
搜索关键字:turn    ( 27138个结果
CodeForces CF242E (CodeForces Round 149 Div.2 Problem E)题解
CodeForces Round 149 Div.2 Problem E XOR on Segment 线段树进阶题 ...
分类:其他好文   时间:2021-05-24 00:11:16    阅读次数:0
PDF转HTML工具——用springboot包装pdf2htmlEX命令行工具
Convert PDF to HTML without losing text or format. 用springboot把pdf2htmlEX命令行工具包装为web服务, 使得PDF转HTML更方便。 pdf2htmlEX命令行工具详情见: https://github.com/pdf2html ...
分类:编程语言   时间:2021-05-23 23:53:36    阅读次数:0
javascript 两个不带进位的正整数
函数名称为: add_two_int_without_carrying(n1, n2), 其中(n1, n2)是函数的参数。就是个位与个位相加, 十位与十位相加 以此类推, 函数返回相加的结果,没相加则不返回。 例如100+22就等于22,因为百位没有进行相加,而且不能进位,例如22+19=31 f ...
分类:编程语言   时间:2021-05-23 23:51:14    阅读次数:0
MD5加密算法
#include<iostream> #include<string> using namespace std; #define shift(x, n) (((x) << (n)) | ((x) >> (32-(n))))//右移的时候,高位一定要补零,而不是补充符号位 #define F(x, y ...
分类:编程语言   时间:2021-05-23 23:50:56    阅读次数:0
CopyOnWriteArrayList
CopyOnWriteArrayList List 不安全 并发下的List //java.util.ConcurrentModificationException 并发修改异常 public class Test03 { public static void main(String[] args) ...
分类:其他好文   时间:2021-05-23 23:26:29    阅读次数:0
每日LeetCode - 7. 整数反转(C语言和Python 3)
C语言 使用long类型: #include "math.h" int reverse(int x){ int max = pow(2,31)-1; int min = pow(2,31)*-1; long n=0; while (x!=0){ n = n*10 + x%10; x = x/10; ...
分类:编程语言   时间:2021-05-23 23:09:40    阅读次数:0
二叉搜索树
二叉搜索树 二叉搜索树满足这样的性质: 每个节点 x 有一个键值。 节点 x 的键值大于等于左子树的任意节点 y 的键值. 节点 x 的键值小于等于右子树的任意节点 z 的键值. 二叉搜索树的表达 struct Node{ int key; Node*parent ; Node*left; Node ...
分类:其他好文   时间:2021-05-23 23:08:30    阅读次数:0
1822. Sign of the Product of an Array
There is a function signFunc(x) that returns: 1 if x is positive. -1 if x is negative. 0 if x is equal to 0. You are given an integer array nums. Let  ...
分类:其他好文   时间:2021-05-23 23:06:06    阅读次数:0
SSM整合(5) 添加一个查询功能
新加一个功能,写法上最好是从下往上写 1.dao层添加一个接口 package dao; import org.apache.ibatis.annotations.Param; import pojo.Books; import java.util.List; public interface Bo ...
分类:其他好文   时间:2021-05-23 23:05:04    阅读次数:0
CF1291B 题解
Luogu-CF1291B 题目分析 对于一个序列 \(a\),我们需要找一个分界线,使左半边严格单调递增,而右半边严格单调递减。 我们可以构建出最小的满足题意的序列 \(b\),如下面这样: \[ 0,1,2,...,M-1,M,M-1,...,2,1,0 \] 那么,我们可以将 \(a_i\) ...
分类:其他好文   时间:2021-05-20 17:51:29    阅读次数:0
27138条   上一页 1 ... 18 19 20 21 22 ... 2714 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!