哈士奇~
码龄6年
关注
提问 私信
  • 博客:6,949
    6,949
    总访问量
  • 14
    原创
  • 435,260
    排名
  • 2
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:陕西省
  • 加入CSDN时间: 2019-01-25
博客简介:

qq_44621644的博客

查看详细资料
个人成就
  • 获得4次点赞
  • 内容获得0次评论
  • 获得3次收藏
创作历程
  • 14篇
    2019年
成就勋章
TA的专栏
  • ACM
    13篇
  • huoj
    1篇
  • hdoj
    2篇
  • codeforces
    9篇
  • poj
    1篇
兴趣领域 设置
  • 数据结构与算法
    排序算法推荐算法
创作活动更多

如何做好一份技术文档?

无论你是技术大神还是初涉此领域的新手,都欢迎分享你的宝贵经验、独到见解与创新方法,为技术传播之路点亮明灯!

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

div2 334 B binary search/ greedy 1400

原文题目Kevin Sun wants to move his precious collection of n cowbells from Naperthrill to Exeter, where there is actually grass instead of corn. Before moving, he must pack his cowbells into k boxes of a...
原创
发布博客 2019.09.10 ·
156 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

cf global 1 B greedy sortings 1400

原文题目You have a long stick, consisting of m segments enumerated from 1 to m. Each segment is 1 centimeter long. Sadly, some segments are broken and need to be repaired.You have an infinitely long rep...
原创
发布博客 2019.08.29 ·
444 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

497 div1 A sorting two pointers 1300

原文题目You are given an array of integers. Vasya can permute (change order) its integers. He wants to do it so that as many as possible integers will become on a place where a smaller integer used to st...
原创
发布博客 2019.08.27 ·
185 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

559 div2B math 1300 题解

原文题目There are n boxers, the weight of the i-th boxer is ai. Each of them can change the weight by no more than 1 before the competition (the weight cannot become equal to zero, that is, it must remai...
原创
发布博客 2019.08.23 ·
157 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

cf 569 div2 B题解

题目原文Nick had received an awesome array of integers a=[a1,a2,…,an] as a gift for his 5 birthday from his mother. He was already going to explore its various properties but after unpacking he was disap...
原创
发布博客 2019.08.20 ·
186 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

580 div2 C题解

题目描述You are given integer n. You have to arrange numbers from 1 to 2n, using each of them exactly once, on the circle, so that the following condition would be satisfied:For every n consecutive numb...
原创
发布博客 2019.08.19 ·
177 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

cf 535 div3 B 题解

(用心诠释什么叫心态炸裂)原题Recently you have received two positive integer numbers x and y. You forgot them, but you remembered a shuffled list containing all divisors of x (including 1 and x) and all divisors ...
原创
发布博客 2019.08.14 ·
213 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

cf 570 div3 D题解

原题This problem is actually a subproblem of problem G from the same contest.There are n candies in a candy box. The type of the i-th candy is ai (1≤ai≤n).You have to prepare a gift using some of the...
原创
发布博客 2019.08.13 ·
207 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

算法-二分

暑期学习—二分题目描述(poj-3258)Every year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. The excitement takes place on a long, s...
原创
发布博客 2019.08.09 ·
155 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

cf 560 div3 -D

We guessed some integer number x. You are given a list of almost all its divisors. Almost all means that there are all divisors except 1 and x in the list.Your task is to find the minimum possible in...
原创
发布博客 2019.07.09 ·
229 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

士兵队列训练问题

题意 hdoj1276 典型的队列问题,入门水题题解:(第一次做普通队列,引用了别人的算法,优化了一下,题解记录学到的一点东西)队列和数组之类的东西完全不同,和栈一样,被固定的顺序和进出卡的很死,所以在做队列的题目时,不能像数组一样思维因为是3个人,所以首先按队列的大小来卡人数,初始化的时候,从1开始进入队列,然后因为是2,3删除交替出现,所以很容易想到用奇偶性来判断是删除2还是3,之后用...
原创
发布博客 2019.03.31 ·
639 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

map(-)

map典例 hdoj 1251 统计难题#include <bits/stdc++.h>using namespace std;int main(){ int n,i,j,k,t; string b; char a[52]; map<string,int>m; while(gets(a)) { ...
原创
发布博客 2019.03.17 ·
137 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

ACM-题解

hdoj 1005题意:A number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are to calculate the value of f(n).题解:开始一直想暴力递归,发现这就是一个简单的...
原创
发布博客 2019.02.26 ·
323 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ACM之路

ACM之路水题系列:1.人见人爱A+B题意:给出了小时分钟和秒,计算加法之后的时间题解:循环判断进位,60进一次2.人见人爱A-B题意:算两个集合的差值题解:从一个数组映射到另外一个数组,对数组进行排序,定义一个新的数组来进行标记,用循环将满足条件的输出3.人见人爱A^B题意:计算A^B的最后三位数题解:循环保留最后的数字,和noj上一个类似,将保留的数字进行次方,避免超出数据...
原创
发布博客 2019.02.23 ·
3742 阅读 ·
0 点赞 ·
0 评论 ·
4 收藏