码迷,mamicode.com
首页 >  
搜索关键字:include    ( 84546个结果
跟多项式运算相关代码
共轭优化 FFT,P3803 多项式乘法 NTT,P3803 多项式乘法 #include<cstdio> #include<cstring> #include<algorithm> #include<cmath> using namespace std; typedef double db; #d ...
分类:其他好文   时间:2021-02-18 13:16:23    阅读次数:0
高斯消元解线性方程组(高斯消元,模板)
题意 给定$n \times (n + 1)$的线性方程组的增广矩阵,求方程的解。 代码 #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <cmath> using name ...
分类:其他好文   时间:2021-02-18 13:16:05    阅读次数:0
对于maven中无法加载类路径下的配置文件
<build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includ ...
分类:其他好文   时间:2021-02-18 13:03:49    阅读次数:0
01背包三种方法
通用 #include<iostream> #include<cstdio> #include<cstring> #include<string> #include<algorithm> #define maxn 1100 using namespace std; //dp[i][j] 表示从第i个 ...
分类:其他好文   时间:2021-02-18 13:00:57    阅读次数:0
学习静态库lib的使用
创建一个win32控制台项目, 1.1 创建头文件funSub.h #pragma once void sub(int a, int b); 1.2 创建funSub.cpp #include <iostream> void sub(int a, int b) { std::cout << (a - ...
分类:其他好文   时间:2021-02-18 12:58:22    阅读次数:0
Floor and Mod(CF1485C)(数论)
题意: 问多少对 \(a,b\) 满足 \(\lfloor \frac{a}{b} \rfloor =a\ mod\ b\) 。 其中 \(1\leqslant a\leqslant x,1\leqslant b\leqslant y\) 。 想法: \(\lfloor \frac{a}{b} \r ...
分类:其他好文   时间:2021-02-17 15:13:35    阅读次数:0
for循环求n个数阶乘的和
#include<stdio.h>int main() { int ret = 1; int n = 0; int i = 0; int sum = 0; printf("请输入:\n"); scanf("%d", &n);\\输入n的值 for (i = 1; i <= n; i++) { ret ...
分类:其他好文   时间:2021-02-17 15:11:38    阅读次数:0
最小生成树 : Kruskal
https://www.acwing.com/problem/content/1143/ \(裸题\) #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); c ...
分类:其他好文   时间:2021-02-17 14:58:39    阅读次数:0
最小生成树 : 最大边
https://www.acwing.com/problem/content/1144/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:其他好文   时间:2021-02-17 14:57:50    阅读次数:0
最小生成树 : 拆点
https://www.acwing.com/problem/content/1145/ 思路 \(把已有的边加上,会形成各个连通块,等价于把每个连通块当成一个点去做Kruskal算法.\) #include <bits/stdc++.h> using namespace std; #define ...
分类:其他好文   时间:2021-02-17 14:56:41    阅读次数:0
84546条   上一页 1 ... 68 69 70 71 72 ... 8455 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!