处变不惊
码龄9年
关注
提问 私信
  • 博客:116,738
    116,738
    总访问量
  • 180
    原创
  • 474,704
    排名
  • 19
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:天津市
  • 加入CSDN时间: 2015-08-14
博客简介:

zyq_19960204的博客

查看详细资料
个人成就
  • 获得28次点赞
  • 内容获得15次评论
  • 获得66次收藏
  • 代码片获得439次分享
创作历程
  • 1篇
    2021年
  • 1篇
    2019年
  • 4篇
    2018年
  • 23篇
    2017年
  • 126篇
    2016年
  • 38篇
    2015年
成就勋章
TA的专栏
  • 笔/面试
  • 总结
  • ACM试题
    104篇
  • 经典小程序
    33篇
  • 数据结构
    40篇
  • 动态规划专题
    20篇
  • 数学
    3篇
  • 线段树
    8篇
  • 树状数组(一维+二维)
    4篇
  • 单调队列
    6篇
  • 组合数学
    3篇
  • 扩展欧几里得定理
    4篇
  • 最短路
  • 并查集
    4篇
  • 二分图
    3篇
兴趣领域 设置
  • 人工智能
    opencvtensorflowpytorchscikit-learn集成学习
创作活动更多

AI大模型如何赋能电商行业,引领变革?

如何使用AI技术实现购物推荐、会员分类、商品定价等方面的创新应用?如何运用AI技术提高电商平台的销售效率和用户体验呢?欢迎分享您的看法

175人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

Java面经

文章目录项目问题数据回流架构数据流图设计总结成果你这个项目的QPS、订单量有多少如何解决超卖问题假如让你设计一个秒杀系统,怎么设计才能承受百万级并发秒杀系统场景特点秒杀架构设计理念架构方案设计思路前端方案浏览器端(js):后端方案服务端控制器层(网关层)服务层数据库层讲讲数据库表怎么设计的为什么使用自增字段作主键spring里面的控制反转,IoC高频搜索关键词,每个文件1G,每个文件有多行 TopK问题一个列表,找出最长的字串,满足字串的每个元素相差不超过limitjwt优缺点优点缺点使用场景虚函数是什么逻
原创
发布博客 2021.10.16 ·
8409 阅读 ·
0 点赞 ·
0 评论 ·
4 收藏

二分法控制精度

#include<stdio.h>const double EPSINON=1e-10;// 二分法控制精度 例子:求sqrt(2) 的精确值int main(){ double low=1.4; double high=1.5; double mid=(low+high)/2; while (high-low>EPSINON){...
原创
发布博客 2019.06.17 ·
2068 阅读 ·
3 点赞 ·
1 评论 ·
0 收藏

概率论与数理统计

发布资源 2018.09.09 ·
pdf

牛客网 成绩排序

题目描述查找和排序题目:输入任意(用户,成绩)序列,可以获得成绩从高到低或从低到高的排列,相同成绩      都按先录入排列在前的规则处理。   例示:   jack      70   peter     96   Tom       70   smith     67   从高到低  成绩               peter     96       jack      70       ...
原创
发布博客 2018.03.06 ·
917 阅读 ·
3 点赞 ·
3 评论 ·
0 收藏

盛大游戏杯 调和序列

       这次的题目用的是截图,我没有它的文档版,只是看这个题目有意思,发一下,自己也练习使用了vector,题目主要的思路就是构建序列+降序排序,题目卡人的地方就是对边界的处理,判断s与序列中元素个数的大小#include&lt;stdio.h&gt;#include&lt;string.h&gt;#include&lt;stdlib.h&gt;#include&lt;iostream...
原创
发布博客 2018.02.25 ·
377 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

Poj 2318 TOYS

TOYSTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 17117 Accepted: 8175DescriptionCalculate the number of toys that land in each bin of a partitioned toy box. Mom and dad have a problem - t...
原创
发布博客 2018.02.19 ·
222 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

哈夫曼编码与解码

#include#include#include#define MAXNUM 60typedef struct{char ch;int weight; //权值,这个字符出现的频率int parent;int left;int right;}HuffNode;typedef struct{char code[MAXNUM];int start;}HuffCode
原创
发布博客 2018.01.09 ·
1428 阅读 ·
2 点赞 ·
1 评论 ·
9 收藏

poj 2299 Ultra-QuickSort

DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping two adjacent sequence elements until the seque
原创
发布博客 2017.05.03 ·
319 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

poj 2337 Catenyms

DescriptionA catenym is a pair of words separated by a period such that the last letter of the first word is the same as the last letter of the second. For example, the following are catenyms: d
原创
发布博客 2017.05.03 ·
291 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

poj 1386 Play on Words

DescriptionSome of the secret doors contain a very interesting word puzzle. The team of archaeologists has to solve it to open that doors. Because there is no other way to open the doors, the puzz
原创
发布博客 2017.05.03 ·
365 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

常用小方法整理3

错排公式n各有序的元素应有n!种不同的排列。如若一个排列式的所有的元素都不在原来的位置上,则称这个排列为错排。核心递推公式:D(n) = (n-1) [D(n-2) + D(n-1)]特殊地,D(1) = 0, D(2) = 1.欧拉回路的判定一.无向图一个无向图存在欧拉路径,当且仅当 该图所有顶点的度数为偶数 或者 除了两个度数为奇数外其余的全是偶数。
原创
发布博客 2017.05.03 ·
323 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

poj 2230 Watchcow

DescriptionBessie's been appointed the new watch-cow for the farm. Every night, it's her job to walk across the farm and make sure that no evildoers are doing any evil. She begins at the barn, mak
原创
发布博客 2017.05.03 ·
263 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

高精度模板 大数的基本运算

#include #include #include #include #include #include using namespace std;const int MAXN = 410; //数字的最大长度,根据情况自己调整struct bign{ int len, s[MAXN]; bign () { memset(s, 0, sizeof(s));
转载
发布博客 2017.05.02 ·
248 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

蓝桥杯 分巧克力

儿童节那天有K位小朋友到小明家做客。小明拿出了珍藏的巧克力招待小朋友们。小明一共有N块巧克力,其中第i块是Hi x Wi的方格组成的长方形。为了公平起见,小明需要从这 N 块巧克力中切出K块巧克力分给小朋友们。切出的巧克力需要满足:1. 形状是正方形,边长是整数 2. 大小相同 例如一块6x5的巧克力可以切出6块2x2的巧克力或者2块3x3的巧克力。当然小朋
原创
发布博客 2017.05.02 ·
416 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

poj 3468 A Simple Problem with Integers

DescriptionYou have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number in a given interval. The other is
原创
发布博客 2017.04.25 ·
243 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

hdu 1394 Minimum Inversion Number

Problem DescriptionThe inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i aj.For a given sequence of numbers a1, a2, ..., an, if we mov
转载
发布博客 2017.04.25 ·
291 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

poj 1325 Machine Schedule

DescriptionAs we all know, machine scheduling is a very classical problem in computer science and has been studied for a very long history. Scheduling problems differ widely in the nature of the c
原创
发布博客 2017.04.20 ·
266 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

poj 2446 Asteroids

DescriptionBessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 Fortunately, Bessie has a powerful weapon that can vaporize all the astero
原创
发布博客 2017.04.20 ·
244 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

poj 2239 Selecting Courses

DescriptionIt is well known that it is not easy to select courses in the college, for there is usually conflict among the time of the courses. Li Ming is a student who loves study every much, and
原创
发布博客 2017.04.20 ·
257 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

poj 1469 COURSES

DescriptionConsider a group of N students and P courses. Each student visits zero, one or more than one courses. Your task is to determine whether it is possible to form a committee of exactly P s
原创
发布博客 2017.04.19 ·
215 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多