码迷,mamicode.com
首页 >  
搜索关键字:algorithm    ( 11758个结果)
有序全排列c++实现(递归)
1 #include <iostream> 2 #include <algorithm> 3 #include <iterator> 4 #include <vector> 5 using namespace std; 6 int number; 7 vector<int> vec; 8 vecto ...
分类:编程语言   时间:2020-02-14 20:44:14    阅读次数:64
HDU4027 Can you answer these queries?
有两种操作,一是给区间内所有的数开根号,二是区间求和。 线段树单点更新,区间求和的模板~ #include<cstdio> #include<algorithm> #include<cmath> using namespace std; const int maxn=1e6+14; struct n ...
分类:其他好文   时间:2020-02-14 20:23:34    阅读次数:63
ANN:MLP-algorithm
1 from sklearn.neural_network import MLPClassifier 2 from sklearn.datasets import load_wine 3 from sklearn.model_selection import train_test_split 4 w ...
分类:其他好文   时间:2020-02-14 19:06:34    阅读次数:81
Codeforces Round #619 (Div. 2) 题解
A. Three Strings #include<iostream> #include<algorithm> using namespace std; int main(){ int t; scanf("%d",&t); while(t--){ string a,b,c; cin>>a>>b>>c ...
分类:其他好文   时间:2020-02-14 18:10:32    阅读次数:119
1004 Counting Leaves (30point(s)) Easy only once
基本思想: 层序遍历问题; 关键点: 无; #include<iostream> #include<stdlib.h> #include<stdio.h> #include<vector> #include<string> #include<math.h> #include<algorithm> # ...
分类:其他好文   时间:2020-02-14 16:45:56    阅读次数:74
C - Piggy-Bank HDU - 1114
C - Piggy-Bank HDU - 1114 Before ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this ...
分类:其他好文   时间:2020-02-14 16:24:58    阅读次数:72
1094 The Largest Generation (25point(s)) Easy only once
基本思想: 层序遍历问题; 关键点: 无; #include<iostream> #include<stdlib.h> #include<stdio.h> #include<vector> #include<string> #include<math.h> #include<algorithm> # ...
分类:其他好文   时间:2020-02-14 14:49:57    阅读次数:52
Heavy Transportation POJ - 1797
#include<string> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <algorithm> #include <queue> #include <vector> ...
分类:其他好文   时间:2020-02-14 11:08:50    阅读次数:66
UVALive-4670
不知道为啥这个题总是WA 找了好长时间也没找出来 求大佬帮忙看看 #include<iostream> #include<iomanip> #include<cstring> #include<sstream> #include<algorithm> #include<cstdio> #includ ...
分类:其他好文   时间:2020-02-14 01:16:56    阅读次数:63
HDU1272 小希的迷宫
用并查集判断图是否连通,以及是否存在环~ #include<cstdio> #include<algorithm> #include<cstring> #include<vector> #include<unordered_map> using namespace std; const int ma ...
分类:其他好文   时间:2020-02-13 23:21:32    阅读次数:116
共11758条   上一页 1 ... 84 85 86 87 88 ... 1176 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!