会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
JasonPeng1
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
29
下一页
2020年1月24日
二叉树遍历 A1102. Invert a Binary Tree (25) 反转二叉树 并输出层序和中序遍历 (使用静态二叉树)
摘要: #include <bits/stdc++.h> #include <stdio.h> #include <stdlib.h> #include <queue> using namespace std; const int maxn = 110; struct node{ int lchild,rc
阅读全文
posted @ 2020-01-24 16:48 JasonPeng1
阅读(155)
评论(0)
推荐(0)
2020年1月23日
二叉树遍历 A1086.Tree Traversals Again(25) (转化为给定前序和中序列,求后序)
摘要: #include <bits/stdc++.h> #include <stdio.h> #include <stdlib.h> #include <queue> using namespace std; const int maxn = 50; struct node{ int data; node
阅读全文
posted @ 2020-01-23 23:15 JasonPeng1
阅读(118)
评论(0)
推荐(0)
2020年1月21日
二叉树遍历 ——已知后序,中序求层序 A1020.(25)
摘要: 若直接DFS递归求解,会栈溢出 #include <cstdio> #include <cstring> #include <queue> #include <algorithm> using namespace std; const int maxn=50; struct node{ int da
阅读全文
posted @ 2020-01-21 21:58 JasonPeng1
阅读(272)
评论(0)
推荐(0)
使用Spring JDBC访问关系型数据库 Accessing Relational Data using JDBC with Spring (VSCode Windows环境下)
摘要: Getting Started Guides 成果图: 原文: https://spring.io/guides/gs/relational-data-access/#scratch 中文版:https://github.com/SpringForAll/spring-guides-translat
阅读全文
posted @ 2020-01-21 16:32 JasonPeng1
阅读(340)
评论(0)
推荐(0)
2020年1月20日
The First
摘要:
阅读全文
posted @ 2020-01-20 22:46 JasonPeng1
阅读(225)
评论(0)
推荐(0)
2020年1月19日
搜索专题 BFS A1091.Acute Stroke(30)
摘要: #pragma warning(disable:4996) #include <stdio.h> #include <stdlib.h> #include <queue> using namespace std; struct node{ int x, y, z; }p; int m, n, l,
阅读全文
posted @ 2020-01-19 22:44 JasonPeng1
阅读(104)
评论(0)
推荐(0)
搜索专题——DFS A1103 Integer Factorization(30)
摘要: #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; //maxFacSum 记录最大底数之和 int n,k,p,maxFaceSum = -1; vector<int> fac,ans,t
阅读全文
posted @ 2020-01-19 18:08 JasonPeng1
阅读(131)
评论(0)
推荐(0)
数据结构专题——链表处理A1097.Deduplication on a Linked List(25) (静态链表)
摘要: #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int maxn = 100005; const int TABLE = 1000010; struct Node{//定义静
阅读全文
posted @ 2020-01-19 17:11 JasonPeng1
阅读(130)
评论(0)
推荐(0)
数据结构专题——链表处理A1052.Linked List Sorting(25) (静态链表)
摘要: 自己写的,少了异常处理。 #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int maxn = 100010; struct Node{//定义静态链表 int data;
阅读全文
posted @ 2020-01-19 00:21 JasonPeng1
阅读(113)
评论(0)
推荐(0)
2020年1月18日
数据结构专题——链表处理 A1032.Sharing (静态链表)
摘要: #include <bits/stdc++.h> #include<math.h> #include <string> using namespace std; const int maxn = 100010; struct Node{//定义静态链表 char data; int next; bo
阅读全文
posted @ 2020-01-18 20:11 JasonPeng1
阅读(160)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
29
下一页
公告