摘要:
https://blog.csdn.net/qaq__qaq/article/details/53812883 (那个板子有错误,。。 阅读全文
posted @ 2019-01-24 22:00
DWVictor
阅读(98)
评论(0)
推荐(0)
摘要:
1、线性基: 若干数的线性基是一组数a1,a2,...ana1,a2,...an,其中axax的最高位的11在第xx位。 通过线性基中元素xorxor出的数的值域与原来的数xorxor出数的值域相同。 2、线性基的构造法: 对每一个数pp从高位到低位扫,扫到第xx位为11时,若axax不存在,则ax 阅读全文
posted @ 2019-01-24 21:58
DWVictor
阅读(224)
评论(0)
推荐(0)
摘要:
1 // Algorithm implementation -*- C++ -*- 2 3 // Copyright (C) 2001-2014 Free Software Foundation, Inc. 4 // 5 // This file is part of the GNU ISO C++ 阅读全文
posted @ 2019-01-24 21:51
DWVictor
阅读(203)
评论(0)
推荐(0)
摘要:
fabs() 面向实数取绝对值 abs() 返回int 阅读全文
posted @ 2019-01-24 21:47
DWVictor
阅读(195)
评论(0)
推荐(0)
摘要:
使用方法:nth_element(start, start+n, end) 使第n大元素处于第n位置(从0开始,其位置是下标为n的元素),并且比这个元素小的元素都排在这个元素之前,比这个元素大的元素都排在这个元素之后,但不能保证他们是有序的。 #include <algorithm> #includ 阅读全文
posted @ 2019-01-24 21:45
DWVictor
阅读(2490)
评论(0)
推荐(0)

浙公网安备 33010602011771号