自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Moutainpurple的博客

Be the friend you wish you had.

  • 博客(30)
  • 收藏
  • 关注

原创 使用RBF神经网络完成函数拟合

文章目录使用RBF网络进行函数拟合使RBF网络进行对f(x)函数的拟合功能,其中输入为x,输出为预测的f(x)RBF网络简介RBF网络的结构与多层前向网络类似,它是一种三层前向网络。 输入层由信号源结点组成;第二层为隐含层,隐单元数视所描述问题的需要而定,隐单元的变换函数是RBF径向基函数,它是对中心点径向对称且衰减的非负非线性函数;第三层为输出层,它对输入模式的作用作出响应使用python代码实现import numpy as npimport matplotlib.pyplot as

2021-10-24 15:54:22 5674

原创 X-CUBE-AI阅读笔记

X-CUBE-AI阅读笔记主要内容为从stm32官方文档中记录自己觉得有意义的内容项目分裂主要内容为从stm32官方文档中记录自己觉得有意义的内容项目分裂

2020-10-05 15:28:20 1205

原创 蓝桥杯基本训练

import java.util.Arrays;import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); ...

2020-03-10 15:39:33 141

原创 蓝桥杯入门训练2,3

import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); System.out.println(ans(r)...

2020-03-10 09:14:59 214

原创 蓝桥杯练习

试题 入门训练 Fibonacci数列提交此题资源限制时间限制:1.0s 内存限制:256.0MB问题描述Fibonacci数列的递推公式为:Fn=Fn-1+Fn-2,其中F1=F2=1。当n比较大时,Fn也非常大,现在我们想知道,Fn除以10007的余数是多少。输入格式输入包含一个整数n。输出格式输出一行,包含一个整数,表示Fn除以10007的余数...

2020-03-10 08:53:21 134

转载 记录一下个人读过的感觉质量很好的博客

SQL语言SELECT语句执行顺序https://www.cnblogs.com/huminxxl/p/3149097.htmljava中画图https://blog.csdn.net/x541211190/article/details/77414861java内部类https://www.cnblogs.com/chenssy/p/3388487.html汇编语言int10功能介绍...

2019-03-13 19:45:05 162 1

原创 数据结构习题

// data_struct_test1.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <iostream>#include <string>#define Max_Size 20using namespace std;template<class T>class Mgraph {pu...

2018-12-11 18:47:30 308

原创 数据结构练习_Kruskal算法

// Graph_Kruskal.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <iostream>#include <vector>#include <queue>#include <string>using namespace std;struct EdgeNode { ...

2018-12-10 23:54:15 268

原创 数据结构图--Prim算法

// Graph_Pra.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <iostream>#include <string>#include <vector>#include <queue>using namespace std;struct GraphNode {    ...

2018-12-10 18:27:36 407

原创 数据结构实验 二叉树基本操作

// AVL.cpp : 定义控制台应用程序的入口点。//#include <iostream>#include <queue>#include <stdio.h>using namespace std;template<class T>class BinaryTreeNode {public:    BinaryTreeNod...

2018-11-22 23:51:05 1148

原创 数据结构练习 DFS BFS

#include <iostream>#include <stack>#include <string>using namespace std;const int MaxSize = 10;int visited[MaxSize];template <class    DataType>class Mgraph {public: ...

2018-11-12 17:39:42 162

原创 数据结构实验 旋转矩阵

#include <string>#include <iostream>using namespace std;template<class T>struct element {    int row, col;    T item;};const int MaxTerm = 100;template<class T>cla...

2018-10-29 15:09:54 305

原创 Response.redirect(URL)与Server.Transfer("Login.aspx")的区别

redirect会让浏览器直接跳转到URL的网页,从原先的网页离开。transfer不会让浏览器离开原先的网页,transfer语句之前的语句执行的为原网页的代码,transfer后面开始执行URL网页,如果触发URL控件实际上实在在URL网页上运作。redirect很好理解不做过多解释第一个界面public partial class Session_1 : System.Web....

2018-10-21 11:33:45 1475 2

原创 最小生成树

#include <iostream> #define MaxSize 15using namespace std;struct Edge {    int v1;    int v2;    int weight;};int set[9][9];bool compare(int i, int j) {    for (int k = 1; k < ...

2018-10-19 11:36:25 173

原创 CUP 数据结构KMP学习

#include <iostream>#include <string>#include <cstdio>#define Max_Size 100005int p_next[Max_Size];using namespace std;int compare(string s_ , string p_) {    int ans = 0;  ...

2018-10-14 17:18:06 176

原创 离散数学实验

#include <iostream>#include <algorithm>#define MaxSize 100 using namespace std;int num[MaxSize];void select(int &pos_1, int &pos_2, int N , int Max) {    int min = num[1] , ...

2018-10-11 23:57:36 1953 1

原创 数据结构没写完的习题

// LinkStack.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <iostream>#include <string>using namespace std;template<class T>struct Node {    T data;    Node<T> *...

2018-10-08 15:07:34 212

原创 Akm函数递归和非递归

#include <iostream>#include <cstdio>#include <stack>#include <ctime>using namespace std;/*int akm_1(int m, int n) {   //递归    if (m == 0)        return n + 1;    else...

2018-10-05 08:53:19 1121

原创 数据结构作业 判断括号是否匹配

#include <iostream>#include <cstdlib>#include <stack>#include <string>using namespace std;bool Ismatch(string n) {    stack<char> a;    for (int i = 0; i < n....

2018-10-04 21:42:27 1290

原创 马拉车hhh

中途有点细节借鉴了csdn上的前辈#include <iostream>#include <stdio.h>#include <cstdio>#include <algorithm>using namespace std;const int maxn = 1000010;char str[maxn];char st[maxn &l...

2018-10-03 16:59:03 180

原创 数据结构简单习题

3.10试将下列递归过程改写为非递归过程。void test(int &sum){int x;scanf(x);if(x==0) sum=0;else { test(sum); sum+=x;}printf(sum);}分析了一下递归过程应该就是将输入数据倒叙加,当输入为0时分步骤输出。自己写的答案如下:#include <iostream>...

2018-10-03 12:05:04 1369

原创 可达矩阵

#include <iostream>#include <cstdlib>#include <string>using namespace std;class Matrix{public:    Matrix();    void Mult();    //friend void operator + (Matrix & a1 ,Mat...

2018-09-21 11:42:23 7553

原创 opencv Drawing_2.cpp

/*** @file Drawing_2.cpp* @brief Simple sample code*/#include <opencv2/core.hpp>#include <opencv2/imgproc.hpp>#include <opencv2/highgui.hpp>#include <iostream>#include...

2018-08-09 16:25:04 246

原创 opencv 源码 Drawing_1.cpp

/*** @file Drawing_1.cpp* @brief Simple geometric drawing* @author OpenCV team*/#include <opencv2/core.hpp>#include <opencv2/imgproc.hpp>#include <opencv2/highgui.hpp>#defin...

2018-08-05 15:16:07 267

原创 opencv 源码mat_mask_operations.cpp

#include <opencv2/imgcodecs.hpp>#include <opencv2/highgui.hpp>#include <opencv2/imgproc.hpp>#include <iostream>using namespace std;using namespace cv;static void help(c...

2018-08-04 15:33:03 229

原创 opencv源码 how_to_scan_images.cpp

#include <opencv2/core.hpp>#include <opencv2/core/utility.hpp>#include "opencv2/imgcodecs.hpp"#include <opencv2/highgui.hpp>#include <iostream>#include <sstream>us...

2018-08-03 23:22:21 214

原创 素数路

已知一个四位的素数,要求每次修改其中的一位,并且要保证修改的结果还是一个素数,还不能出现前导零。你要找到一个修改数最少的方案,得到我们所需要的素数。例如把1033变到8179,这里是一个最短的方案:1033173337333739377987798179修改了6次。(简单BFS)#include <queue>#include <cstdio>#include <io...

2018-07-12 11:00:44 1021 1

原创 Maximum Subsequence Sum

#include <stdio.h>#include <stdlib.h>#define ll long longint a[10000];int main() { int K , i , minpos =0 , maxpos = 0 , pos = 0 , flag = 1  ; minpos = 0  ; maxpos = K-1 ;  scanf("%d",&...

2018-04-25 22:37:02 112

原创 标称

#include <bits/stdc++.h> using namespace std; int main(){    int n;    char a[100005],b[100005];    scanf("%s",a);    scanf("%s",b);    n = strlen(a);    int minn,maxx;    minn = n+1;    maxx = ...

2018-04-22 11:58:59 233

原创 Orderly Class

题目描述Ms. Thomas is managing her class of n students.She placed all her students in a line, and gave the i-th student from the left a card with the letter ai written on it.She would now like to rearrang...

2018-04-21 22:55:34 182 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除