Hanylch
码龄10年
求更新 关注
提问 私信
  • 博客:38,517
    38,517
    总访问量
  • 72
    原创
  • 5
    粉丝
  • 20
    关注
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:广东省
加入CSDN时间: 2015-12-08

个人简介:菜鸟的起飞之路 Think and Practice

博客简介:

Hanylch

博客描述:
加油 !!!
查看详细资料
个人成就
  • 获得11次点赞
  • 内容获得3次评论
  • 获得6次收藏
  • 博客总排名1,152,258名
创作历程
  • 59篇
    2017年
  • 15篇
    2016年
成就勋章
TA的专栏
  • python
    1篇

TA关注的专栏 2

TA关注的收藏夹 0

TA关注的社区 5

TA参与的活动 0

创作活动更多

新星杯·14天创作挑战营·第13期

这是一个以写作博客为目的的创作活动,旨在鼓励大学生博主们挖掘自己的创作潜能,展现自己的写作才华。如果你是一位热爱写作的、想要展现自己创作才华的小伙伴,那么,快来参加吧!我们一起发掘写作的魅力,书写出属于我们的故事。我们诚挚邀请你们参加为期14天的创作挑战赛!注: 1、参赛者可以进入活动群进行交流、互相鼓励与支持(开卷),虚竹哥会分享创作心得和涨粉心得,答疑及活动群请见:https://bbs.csdn.net/topics/619781944 【进活动群,得奖概率会更大,因为有辅导】 2、文章质量分查询:https://www.csdn.net/qc

82人参与 去参加
  • 最近
  • 文章
  • 专栏
  • 代码仓
  • 资源
  • 收藏
  • 关注/订阅/互动
更多
  • 最近

  • 文章

  • 专栏

  • 代码仓

  • 资源

  • 收藏

  • 关注/订阅/互动

  • 社区

  • 帖子

  • 问答

  • 课程

  • 视频

搜索 取消

poj 2531 Network Saboteur

DescriptionA university network is composed of N computers. System administrators gathered information on the traffic between nodes, and carefully divided the network into two subnetworks in order
原创
博文更新于 2016.11.06 ·
320 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Caterpillars URAL - 2064

Young gardener didn’t visit his garden for a long time, and now it’s not very pleasant there: n caterpillars have appeared on the ground. Kirill decided to use this opportunity to have some fun and or
原创
博文更新于 2017.03.24 ·
394 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

三分·三分求极值 HihoCoder - 1142

描述这一次我们就简单一点了,题目在此: week40_1.PNG 在直角坐标系中有一条抛物线y=ax^2+bx+c和一个点P(x,y),求点P到抛物线的最短距离d。 提示:三分法× 提示:三分法在之前的几周中我们了解到二分法作为分治中最常见的方法,适用于单调函数,逼近求解某点的值。 但当函数是凸形函数时,二分法就无法适用,这时就需要用到三分法。 从三分法的名字中我们可以猜到,三分法是
原创
博文更新于 2017.04.12 ·
473 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

python requests 和正则表达式提取贴吧图片

通过requests的get方法得到对应url 的页面,然后直接使用re 的正则表达式来查找对应的图片的地址,最后将图片保存在本地。 新手,有很多不好的地方,欢迎交流import requestsimport sysimport ioimport reimport osurl = "http://c.tieba.baidu.com/p/5287949986"html=requests.ge
原创
博文更新于 2017.09.13 ·
1563 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

多重背包(二进制优化)

类似于poj 1014 qduoj#include<bits/stdc++.h>#define maxn 100007using namespace std;int mm[20][20];int dp[maxn];int v[maxn];int w[maxn];int main(){ int n,m,t; scanf("%d",&t); while(t--)
原创
博文更新于 2017.06.07 ·
485 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

Nested Segments CodeForces - 652D (树状数组,离散化)

You are given n segments on a line. There are no ends of some segments that coincide. For each segment find the number of segments it contains.Input The first line contains a single integer n (1 ≤ n ≤
原创
博文更新于 2017.06.06 ·
327 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

B. Sagheer, the Hausmeister(codeforce 417 div2 B, dfs)

B. Sagheer, the Hausmeister time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Some people leave the lights at their workplaces on when they l
原创
博文更新于 2017.06.02 ·
369 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Sagheer and Nubian Market(二分)

time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output On his trip to Luxor and Aswan, Sagheer went to a Nubian market to buy some souvenirs for h
原创
博文更新于 2017.06.02 ·
814 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Hard Process CodeForces - 660C (尺取法)

You are given an array a with n elements. Each element of a is either 0 or 1.Let’s denote the length of the longest subsegment of consecutive elements in a, consisting of only numbers one, as f(a). You
原创
博文更新于 2017.05.25 ·
545 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

The Smallest String Concatenation CodeForces - 632C (string sort)

You’re given a list of n strings a1, a2, …, an. You’d like to concatenate them together in some order such that the resulting string would be lexicographically smallest.Given the list of strings, outpu
原创
博文更新于 2017.05.23 ·
337 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Optimal Number Permutation CodeForces - 622D (找规律)

You have array a that contains all integers from 1 to n twice. You can arbitrary permute any numbers in a.Let number i be in positions xi, yi (xi < yi) in the permuted array a. Let’s define the value d
原创
博文更新于 2017.05.18 ·
359 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Pearls in a Row CodeForces - 620C

There are n pearls in a row. Let’s enumerate them with integers from 1 to n from the left to the right. The pearl number i has the type ai.Let’s call a sequence of consecutive pearls a segment. Let’s c
原创
博文更新于 2017.05.18 ·
371 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Not Equal on a Segment CodeForces - 622C (思维)

You are given array a with n integers and m queries. The i-th query is given with three integers li, ri, xi.For the i-th query find any position pi (li ≤ pi ≤ ri) so that api ≠ xi.Input The first line
原创
博文更新于 2017.05.18 ·
297 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Hdu 1176 免费馅饼 (动态规划)

免费馅饼Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 48350 Accepted Submission(s): 16755Problem Description 都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽
原创
博文更新于 2017.05.17 ·
226 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Piggy-Bank (hdu 1114 完全背包 模板)

Piggy-BankTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 24510 Accepted Submission(s): 12416Problem Description Before ACM can do anything
原创
博文更新于 2017.05.17 ·
265 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Andy的作业 FZU - 1404 (结果为大数的乘法)

Andy每天都有很多作业要做,他的老师总是在说“这些作业你明天必须交上来……”。现在他找你帮忙做其中的一项作业,给出N个整数A1, A2, …, AN,有 M 个询问 q (L, R),对于每个询问,你要输出一个整数,第L个数到第R个数的乘积,这个乘积不会超过1000位。Input 输入包含多组测试数据。每组数据第一行为两个整数N,M (N <= 800, M <= 1000) 接下来N行,给出这
原创
博文更新于 2017.05.17 ·
258 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

中位数计数 (思维 + 技巧)

中位数计数Time Limit: 12000/6000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1610 Accepted Submission(s): 583Problem Description 中位数定义为所有值从小到大排序后排在正中间的那个数,如果值有偶数个
原创
博文更新于 2017.05.17 ·
427 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Educational Codeforces Round 21 D. Array Division(前缀和,二分)

D. Array Division time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Vasya has an array a consisting of positive integer numbers. Vasya wants
原创
博文更新于 2017.05.17 ·
777 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

Longest k-Good Segment CodeForces - 616D (尺取法)

The array a with n integers is given. Let's call the sequence of one or more consecutive elements in a segment. Also let's call the segment k-good if it contains no more than k different values.Find an
原创
博文更新于 2017.05.16 ·
361 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

nyoj 448 删数字(思维水题)

寻找最大数 时间限制:1000 ms | 内存限制:65535 KB 难度:2 描述 请在整数 n 中删除m个数字, 使得余下的数字按原次序组成的新数最大,比如当n=92081346718538,m=10时,则新的最大数是9888输入 第一行输入一个正整数T,表示有T组测试数据 每组测试数据占一行,每行有两个数n,m(n可能是一个很大的整数,但其位数不超过100位,并且保证数据首位非
原创
博文更新于 2017.05.15 ·
556 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多