*博客头图：

RGB颜色，例如：#AFAFAF

Hover：

RGB颜色，例如：#AFAFAF

RGB颜色，例如：#AFAFAF

# Jerome_Chen_Y的博客

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

#### 原创 学习率到底是什么

2021-11-10 09:15:54 29439

#### 原创 js的出师不利

2021-11-08 21:16:45 864

#### 原创 SQL server 数据查询

2021-11-08 11:24:28 3143

#### 原创 15. 3Sum(Medium）

Source: https://leetcode.com/problems/3sum/Time: 2020/12/20DescriptionGiven an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Notice that the solut

2020-12-20 14:17:01 139

#### 原创 11. Container With Most Water (Medium)

Source:https://leetcode.com/problems/container-with-most-water/Time:2020/12/20DescriptionGiven n non-negative integers a1, a2, …, an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of the lin

2020-12-20 10:20:22 140 1

#### 原创 10. Regular Expression Matching

Source: https://leetcode.com/problems/regular-expression-matching/Time: 2020/12/18DescriptionGiven an input string (s) and a pattern §, implement regular expression matching with support for ‘.’ and ‘*’ where:‘.’ Matches any single character.​​​​‘*’ M

2020-12-19 19:09:02 99

#### 原创 Leetcode 4. Median of Two Sorted Arrays（Hard）

//Source:https://leetcode.com/problems/median-of-two-sorted-arrays///TIme:2020/11/20这题有点东西的，之后有时间要再看看。Solution里讲得非常清楚了DescriptionGiven two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays.Follow u

2020-11-20 10:26:26 115

#### 原创 Leetcode3. Longest Substring Without Repeating Characters(Medium)

Source:https://leetcode.com/problems/longest-substring-without-repeating-characters/Time:2020/11/18DescriptionGiven a string s, find the length of the longest substring without repeating characters.Example 1:Input: s = “abcabcbb”Output: 3Explanation

2020-11-18 02:03:08 76

#### 原创 Leetcode 2. Add Two Numbers (Medium)

You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.You may assume the two number

2020-11-16 20:10:46 72

#### 原创 Leetcode 1 Two-sum(Easy)

Source:https://leetcode.com/problems/two-sum/Time: 2020/11/15Description:Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.You may assume that each input would have exactly one solu

2020-11-15 12:39:12 101

2020-11-09 18:50:04 391

#### 原创 Stack C++STL

2020-11-08 02:59:21 80

2020-11-05 17:43:01 237

#### 原创 Homework02解析

2020-11-05 00:22:53 298

2020-11-01 23:39:12 415

#### 原创 Chapter02 算法分析

2020-10-21 19:39:31 1070 5

#### 原创 P1379 八数码难题

2020-09-08 19:46:36 391

#### 原创 P4913 【深基16.例3】二叉树深度

2020-08-28 17:02:46 244

#### 原创 P4715 【深基16.例1】淘汰赛

2020-08-28 16:35:55 243

#### 原创 UVA524 素数环 Prime Ring Problem

UVA好卡，没上去提，应该没什么问题题意翻译输入正整数 nn，把整数 1,2,\dots ,n1,2,…,n 组成一个环，使得相邻两个整数之和均为素数。输出时，从整数 11 开始逆时针排列。同一个环恰好输出一次。n\leq 16n≤16，保证一定有解。多组数据，读入到 EOF 结束。第 ii 组数据输出前加上一行 Case i:相邻两组数据中间加上一个空行。输入输出样例输入 #1复制68输出 #1复制Case 1:1 4 3 2 5 61 6 5 2 3 4Case 2:1 2

2020-08-24 13:39:36 143

#### 原创 P1219 [USACO1.5]八皇后 Checker Challenge

https://www.luogu.com.cn/problem/P1219题目描述一个如下的 6 \times 66×6 的跳棋棋盘，有六个棋子被放置在棋盘上，使得每行、每列有且只有一个，每条对角线（包括两条主对角线的所有平行线）上至多有一个棋子。上面的布局可以用序列 2\ 4\ 6\ 1\ 3\ 52 4 6 1 3 5 来描述，第 ii 个数字表示在第 ii 行的相应位置有一个棋子，如下：行号 1\ 2\ 3\ 4\ 5\ 61 2 3 4 5 6列号 2\ 4\ 6\ 1\ 3\ 52 4

2020-08-23 15:19:07 171

#### 原创 子集生成（位向量法、增量构造法）

2020-08-23 10:44:22 374

#### 原创 P1177 【模板】快速排序

https://www.luogu.com.cn/problem/P1177题目描述利用快速排序算法将读入的 NN 个数从小到大排序后输出。快速排序是信息学竞赛的必备算法之一。对于快速排序不是很了解的同学可以自行上网查询相关资料，掌握后独立完成。（C++C++ 选手请不要试图使用 STL，虽然你可以使用 sort 一遍过，但是你并没有掌握快速排序算法的精髓。）输入格式第 11 行为一个正整数 NN，第 22 行包含 NN 个空格隔开的正整数 a_iai​ ，为你需要进行排序的数，数据保证了

2020-08-19 15:30:54 168

#### 原创 纯c实现字符串中字串的查找与替换

#include <stdio.h>#include <string.h>//查找 int replace_str( char*str, char* sub, char* repstr);//替换int replace_str_step2( char*str, char* sub, char* repstr, int t);int main(){ char str[100], sub[80], repstr[80]; int n; gets(str).

2020-06-11 17:50:58 599

#### 原创 P1308 统计单词数字符串

2020-05-28 16:08:54 333

#### 原创 笨小猴 洛谷P1125 字符串

2020-05-28 14:32:15 567

#### 原创 Fractions Again?! UVA - 10976

It is easy to see that for every fraction in the form 1 k (k > 0), we can always ﬁnd two positive integers x and y, x ≥ y, such that: 1 k = 1 x + 1 y Now our question is: can you write a program that counts how many such pairs of x and y there are for a

2020-05-21 21:30:55 135

#### 原创 Maximum Product

Problem D - Maximum ProductTime Limit: 1 secondGiven a sequence of integers S = {S1, S2, …, Sn}, you should determine what is the value of the maximum positive product involving consecutive terms of S. If you cannot find a positive sequence, you should c

2020-05-21 20:52:15 113

#### 原创 PTA1013 数素数

2020-05-15 23:25:48 181

#### 原创 简单枚举 Division UVA 725

Write a program that finds and displays all pairs of 5-digit numbers that between them use the digits 0through 9 once each, such that the first number divided by the second is equal to an integer N, where2 ≤ N ≤ 79. That is,abcdefghij = Nwhere each le

2020-05-13 22:51:18 135

#### 原创 最小生成树Prim算法

2020-05-13 11:55:42 226

#### 原创 Common Subsequence （POJ1458) dp

DescriptionA subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = < x1, x2, …, xm > another sequence Z = < z1, z2, …, zk > is a subsequence of X if there exists a strictly incr

2020-05-09 21:58:15 178

#### 原创 最长上升子序列（百练2527） 动规

2020-05-07 23:27:35 85

#### 原创 The Triangle （POJ1163) 动态规划

http://poj.org/problem?id=1163Description 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5(Figure 1)Figure 1 shows a number triangle. Write a program that calculates the ...

2020-05-07 22:28:01 194

#### 原创 映射 map （uva156）

156 AnanagramsMost crossword puzzle fans are used to anagrams — groups of words with the same letters in differentorders — for example OPTS, SPOT, STOP, POTS and POST. Some words however do not have...

2020-05-04 15:43:30 152

#### 原创 集合：set （UVA10815）

Andy’s First DictionaryProblem DescriptionAndy, 8, has a dream - he wants to produce hisvery own dictionary. This is not an easy task forhim, as the number of words that he knows is,well, not qui...

2020-05-04 15:06:37 177

#### 原创 The Blocks Problem (vector)

2020-05-01 12:49:46 257

#### 原创 Deep-First-Search Series 1

**深度优先搜索（DFS）**是一个重要的基础算法Depth-first search (DFS) is an algorithm for traversing or searching tree or graph data structures. The algorithm starts at the root node (selecting some arbitrary node as t...

2020-04-14 20:53:54 310

#### 原创 最大子序列和（数据结构）

2020-04-11 22:37:31 338

#### 原创 Clock Tick 测试程序运行时间的函数

2020-04-09 21:24:19 1309

###### 空空如也

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

TA关注的人