码迷,mamicode.com
首页 >  
搜索关键字:max sum plus plus    ( 46271个结果
Oracle Data Guard 报错 ORA-16057: Data Guard 配置中没有服务
Oracle Data Guard 报错 ORA-16057: Data Guard 配置中没有服务器
分类:数据库   时间:2020-11-25 12:59:34    阅读次数:14
使用cookie跳过登录进入禅道首页
import timefrom selenium import webdriverdriver = webdriver.Chrome()driver.get('URL')driver.maximize_window()driver.implicitly_wait(10)time.sleep(2)# ...
分类:其他好文   时间:2020-11-25 12:32:04    阅读次数:4
SQL------查看索引大小
如下 SELECT i.name AS [索引名称], SUM(s.used_page_count) * 8 AS [索引大小KB] FROM sys.dm_db_partition_stats AS s JOIN sys.indexes AS i ON s.[object_id] = i.[obj ...
分类:数据库   时间:2020-11-25 12:21:37    阅读次数:11
「CTS2019 | CTSC2019」氪金手游(容斥+概率计数)
分析一波,发现是棵树。 我们先假设是一颗外向树, 考虑$u$是以它为根的子树最先抽出来的, 设子树$W$和为$S_u$,全局$W$和为$S$。 有$p=\frac\sum_{i\ge0}(\frac)^i=\frac$ 那么我们设$f[u][S_u]$,转移就是背包一样转移。 现在我们有一些向根的边 ...
分类:其他好文   时间:2020-11-25 12:13:09    阅读次数:3
test
C++ 内联函数 #include <iostream> using namespace std; inline int Max(int a, int b) { if (a > b) return a; else return b; } int main() { cout << Max(23, 5) ...
分类:其他好文   时间:2020-11-25 12:08:44    阅读次数:2
CF1349F1
CF1349F1 & 2 [* so hard] 定义好序列为: 所有元素都是正整数。 假设 \(k\ne 1\) 且 \(k\) 在序列中出现过,那么 \(k-1\) 在 \(k\) 最后一次出现的位置之前出现过。 设 \(f_p(i)\) 为 “好序列” \(p\) 中 \(i\) 的出现次数, ...
分类:其他好文   时间:2020-11-25 12:03:05    阅读次数:7
板子-__int128
__int128 是比 long long 还要大的数据类型(\(max = 2^{128}-1\)) 其输入和输出不能用常规方法,用 read() 和 write() 函数代替 #include<bits/stdc++.h> using namespace std; __int128 read(i ...
分类:其他好文   时间:2020-11-24 12:37:39    阅读次数:6
实验室任务
#PHP九九乘法表# <html><head></head><body><p> <?php header('Content-Type:text/html;charest=utf-8'); $i=1; $n=1; $sum;for($n=1;$n<=9;$n++){ for($i=1;$i<=$n;$ ...
分类:其他好文   时间:2020-11-24 12:14:54    阅读次数:8
ProjectEuler
按照题号排序 1.Multiples of 3 and 5 题意:求 $1000$ 以内的,是 $3$ 或 $5$ 倍数的数的和 直接模拟 2.Even Fibonacci numbers 题意:求 $4\times 10 ^ 6$ 内的,是偶数的斐波那契数之和 直接模拟 3.Largest pri ...
分类:其他好文   时间:2020-11-24 12:11:58    阅读次数:5
【Mybatis-Plus】使用updateById()、update()将字段更新为null或者空
问题背景: 最近测试同学给我提了个bug,字段不能置空,我查看了下项目配置发现是字段级别被设置为NOT_EMPTY导致的。 mybatis-plus FieldStrategy 有三种策略: 1.IGNORED:0 忽略 2.NOT_NULL:1 非 NULL,默认策略 3.NOT_EMPTY:2 ...
分类:其他好文   时间:2020-11-24 12:05:13    阅读次数:32
46271条   上一页 1 ... 76 77 78 79 80 ... 4628 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!