- 博客(38)
- 资源 (7)
- 收藏
- 关注
原创 2019.12.33
2019.12.33#include <vector>#include <string>#include <sstream>using namespace std;vector<string> example(string text) { istringstream iss(text); vector<string> cache; string tmp; while (iss >> tmp) { ca
2021-07-21 22:35:52 50641
原创 2019.12.32
2019.12.32#include <vector>#include <string>#include <sstream>using namespace std;vector<string> example(string text) { istringstream iss(text); vector<string> cache; string tmp; while (iss >> tmp) { ca
2021-07-21 22:33:45 6119
原创 2019.12.31
2019.12.31#include <vector>#include <string>#include <sstream>using namespace std;vector<string> example(string text) { istringstream iss(text); vector<string> cache; string tmp; while (iss >> tmp) { ca
2021-07-21 22:31:45 3394
原创 2019.12.30
2019.12.30#include <vector>#include <string>#include <sstream>using namespace std;vector<string> example(string text) { istringstream iss(text); vector<string> cache; string tmp; while (iss >> tmp) { ca
2021-07-21 22:30:30 2824
原创 2019.12.29
2019.12.29#include <vector>#include <string>#include <sstream>using namespace std;vector<string> example(string text) { istringstream iss(text); vector<string> cache; string tmp; while (iss >> tmp) { ca
2021-07-21 22:29:44 2438
原创 2019.12.28
2019.12.28#include <vector>#include <string>#include <sstream>using namespace std;vector<string> example(string text) { istringstream iss(text); vector<string> cache; string tmp; while (iss >> tmp) { ca
2021-07-21 22:28:45 2261
原创 2019.12.27
2019.12.27#include <vector>#include <string>#include <sstream>using namespace std;vector<string> example(string text) { istringstream iss(text); vector<string> cache; string tmp; while (iss >> tmp) { ca
2021-07-21 22:27:07 1981
原创 2019.12.26
2019.12.26#include <vector>#include <string>#include <sstream>using namespace std;vector<string> example(string text) { istringstream iss(text); vector<string> cache; string tmp; while (iss >> tmp) { ca
2021-07-21 22:26:11 1791
原创 2019.12.25
2019.12.25#include <vector>#include <string>#include <sstream>using namespace std;vector<string> example(string text) { istringstream iss(text); vector<string> cache; string tmp; while (iss >> tmp) { ca
2021-07-21 22:24:41 1563
原创 c++ istringstream
c++ istringstream概述istringstream 是用来读入string的一种流,定义在<sstream>头文件中在需要读字符串,特别是由空格分隔的字符串时非常方便。示例#include <vector>#include <string>#include <sstream>using namespace std;vector<string> example(string text) { istringstr
2021-07-21 16:49:49 1028
原创 2019.12.24
2019.12.24b4 = nn.Sequential(Inception(480, 192, (96, 208), (16, 48), 64), Inception(512, 160, (112, 224), (24, 64), 64), Inception(512, 128, (128, 256), (24, 64), 64), Inception(512, 112, (144, 288
2021-07-17 21:39:47 4904 2
原创 2019.12.23
2019.12.23b4 = nn.Sequential(Inception(480, 192, (96, 208), (16, 48), 64), Inception(512, 160, (112, 224), (24, 64), 64), Inception(512, 128, (128, 256), (24, 64), 64), Inception(512, 112, (144, 288
2021-07-17 21:38:59 1915
原创 2019.12.22
2019.12.22b4 = nn.Sequential(Inception(480, 192, (96, 208), (16, 48), 64), Inception(512, 160, (112, 224), (24, 64), 64), Inception(512, 128, (128, 256), (24, 64), 64), Inception(512, 112, (144, 288
2021-07-17 21:38:14 1387
原创 2019.12.21
2019.12.21b4 = nn.Sequential(Inception(480, 192, (96, 208), (16, 48), 64), Inception(512, 160, (112, 224), (24, 64), 64), Inception(512, 128, (128, 256), (24, 64), 64), Inception(512, 112, (144, 288
2021-07-17 21:27:38 1314
原创 2019.12.20
2019.12.20b4 = nn.Sequential(Inception(480, 192, (96, 208), (16, 48), 64), Inception(512, 160, (112, 224), (24, 64), 64), Inception(512, 128, (128, 256), (24, 64), 64), Inception(512, 112, (144, 288
2021-07-17 21:26:58 1146
原创 2019.12.19
2019.12.19b4 = nn.Sequential(Inception(480, 192, (96, 208), (16, 48), 64), Inception(512, 160, (112, 224), (24, 64), 64), Inception(512, 128, (128, 256), (24, 64), 64), Inception(512, 112, (144, 288
2021-07-17 21:26:14 995
原创 2019.12.18
2019.12.18bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin(), arr.end()); return target == arr; }
2021-07-11 23:16:45 5073
原创 2019.12.17
2019.12.17bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin(), arr.end()); return target == arr; }
2021-07-11 23:15:08 1390
原创 2019.12.16
2019.12.16bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin(), arr.end()); return target == arr; }
2021-07-11 23:13:43 1000
原创 2019.12.15
2019.12.15bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin(), arr.end()); return target == arr; }
2021-07-11 23:11:50 862
原创 2019.12.14
2019.12.14bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin(), arr.end()); return target == arr; }
2021-07-11 23:10:20 878
原创 2019.12.13
2019.12.13bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin(), arr.end()); return target == arr; }
2021-07-11 23:08:51 812
原创 2019.12.12
2019.12.12bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin(), arr.end()); return target == arr; }
2021-07-11 23:07:01 784
原创 2019.12.11
2019.12.11bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin(), arr.end()); return target == arr; }
2021-07-11 23:05:01 706
原创 c++ vector获得最大、最小值
c++ vector获得最大、最小值如题。使用max_element或min_element函数即可,举例如下:#include <vector>#include <algorithm>vector<int> beast = {1, 1, 4, 5, 1, 4, 1, 9, 1, 9, 8, 1, 0};// 注意函数返回的是指针int max_value = *max_element(beast.begin(), beast.end());//max_va
2021-07-11 22:33:53 5079
原创 2019.12.10
2019.12.10bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin(), arr.end()); return target == arr; }
2021-07-10 23:39:42 1089
原创 2019.12.9
2019.12.9bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin(), arr.end()); return target == arr; }
2021-07-09 23:04:23 978
原创 2019.12.8
2019.12.8bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin(), arr.end()); return target == arr; }
2021-07-09 23:02:26 625
原创 2019.12.7
2019.12.7bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin(), arr.end()); return target == arr; }
2021-07-09 22:59:41 600
原创 2019.12.6
2019.12.6bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin(), arr.end()); return target == arr; }
2021-07-09 22:50:05 497
原创 c++ vector比较
c++ vector比较如题,在c++语言中若想比较两个vector是否完全相等,在重载==的情况下,可以直接比较,举例如下:bool canBeEqual(vector<int>& target, vector<int>& arr) { if (target.size() != arr.size()) { return false; } sort(target.begin(), target.end()); sort(arr.begin()
2021-07-09 21:59:56 2300
原创 2019.12.5
2019.12.5import numpy as npfrom sklearn import metricsy = np.array([1, 1, 2, 2])scores = np.array([0.1, 0.4, 0.35, 0.8])fpr, tpr, thresholds = metrics.roc_curve(y, scores, pos_label=2)
2021-07-08 23:22:25 790
原创 2019.12.4
2019.12.4import numpy as npfrom sklearn import metricsy = np.array([1, 1, 2, 2])scores = np.array([0.1, 0.4, 0.35, 0.8])fpr, tpr, thresholds = metrics.roc_curve(y, scores, pos_label=2)
2021-07-08 23:18:30 493
原创 2019.12.3
2019.12.3import numpy as npfrom sklearn import metricsy = np.array([1, 1, 2, 2])scores = np.array([0.1, 0.4, 0.35, 0.8])fpr, tpr, thresholds = metrics.roc_curve(y, scores, pos_label=2)
2021-07-08 23:13:06 453
原创 2019.12.2
2019.12.2import numpy as npfrom sklearn import metricsy = np.array([1, 1, 2, 2])scores = np.array([0.1, 0.4, 0.35, 0.8])fpr, tpr, thresholds = metrics.roc_curve(y, scores, pos_label=2)
2021-07-08 23:08:30 484
原创 git push时出现src refspec yourbranch does not match any
git push时出现src refspec yourbranch does not match any如题,git push到某分支出现报错解决方法:先切换到对应分支git checkout -b your branch
2021-07-07 21:38:16 153
原创 gitbook安装过程中出现TypeError: cb.apply is not a function
gitbook安装过程中出现TypeError: cb.apply is not a function如题。在gitbook安装过程中出现报错,如下图所示。解决方法:找到文件C:\Users\你的名字\AppData\Roaming\npm\node_modules\gitbook-cli\node_modules\npm\node_modules\graceful-fs\polyfills.js,在如下位置:把 fs.stat = statFix(fs.stat) fs.fstat =
2021-07-07 11:31:28 1017 1
原创 图像处理(七):二维泊松融合
图像处理(七):二维泊松融合理论与二维泊松相似,给出融合的“补丁”以及待融合的“背景”,可以进行泊松融合。具体原理即为计算“补丁”各像素的梯度,然后以背景边缘的值作为已知,通过已经计算的梯度矩阵计算出融合的“补丁”的像素值。代码计算补丁梯度def buildSystemSparse(im_shape,mask): sizey, sizex = im_shape row_list = [] col_list = [] data_list = [] f
2021-07-03 09:09:46 591 6
arcanist.zip
2020-05-04
php源代码,目前最新版
2020-05-03
dafny-2.3.0.10506-x64-win.zip
2020-05-03
hsqldb-2.5.0.zip
2020-02-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人