
其他
文章平均质量分 76
shyoldman
lalala~~~
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
codeforces 582A GCD Table
A. GCD Table time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output The GCD table G of size n × n for an array o原创 2017-09-28 14:15:12 · 338 阅读 · 0 评论 -
Codeforces 678C Joty and Chocolate
C. Joty and Chocolate time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Little Joty has got a task to do. She原创 2017-12-19 21:27:50 · 355 阅读 · 0 评论 -
FZU 2138 久违的月赛之一
Problem 2138 久违的月赛之一 Accept: 262 Submit: 553 Time Limit: 1000 mSec Memory Limit : 32768 KB Problem Description 好久没举月赛了,这次lqw给大家出了5道题,因为hsy学长宣传的很到位,吸引了n个DDMM们来做,另一位kk学长说,全做对的要给金奖,做对4原创 2017-11-25 14:13:09 · 260 阅读 · 0 评论 -
HDU 5626 Clarke and points
Clarke and points Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 480 Accepted Submission(s): 337 Problem Description Clarke is原创 2017-12-27 15:24:07 · 304 阅读 · 0 评论 -
Codeforces 917A The Monster
C. The Monstertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs Will is stuck in the Upside Down, he can still communicate with his mom, Joyce, th...原创 2018-02-12 23:15:27 · 416 阅读 · 0 评论 -
HDU 5646 DZY Loves Partition
DZY Loves Partition Accepts: 154 Submissions: 843 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)问题描述DZY喜欢拆分数字。他想知道能否把nn拆成恰好kk个不重复的正整数之和。 思考了一会儿之后他发现这个题太简单,于是他想要...原创 2018-03-24 09:55:14 · 262 阅读 · 1 评论 -
codeforces 344C Rational Resistance
C. Rational Resistancetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMad scientist Mike is building a time machine in his spare time. To finish th...原创 2018-04-09 11:02:59 · 164 阅读 · 0 评论 -
HDU 6025 Coprime Sequence
Coprime SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1769 Accepted Submission(s): 825Problem DescriptionDo you know what is call...原创 2018-04-07 11:20:22 · 139 阅读 · 0 评论 -
CodeForces - 834C The Meaningless Game
C. The Meaningless Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSlastyona and her loyal dog Pushok are playing a meaningless game that is in...原创 2018-06-03 22:22:41 · 152 阅读 · 0 评论 -
牛客网暑期ACM多校训练营(第一场)D Two Graphs
链接:https://www.nowcoder.com/acm/contest/139/D 来源:牛客网 题目描述 Two undirected simple graphs and where are isomorphic when there exists a bijection on V satisfying if and only if {x, y} ∈ E2. Given...原创 2018-07-30 20:34:21 · 206 阅读 · 0 评论 -
HDU 6336 Matrix from Arrays(找规律)
Problem E. Matrix from Arrays Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 884 Accepted Submission(s): 396 Problem Description Kaz...原创 2018-08-02 20:08:34 · 252 阅读 · 0 评论 -
TCP协议疑难杂症全景解析
转载自:https://blog.youkuaiyun.com/dog250/article/details/6612496 说明: 1).本文以TCP的发展历程解析容易引起混淆,误会的方方面面 2).本文不会贴大量的源码,大多数是以文字形式描述,我相信文字看起来是要比代码更轻松的 3).针对对象:对TCP已经有了全面了解的人。因为本文不会解析TCP头里面的每一个字段或者3次握手的细节,也不会解...转载 2019-01-02 22:08:52 · 246 阅读 · 1 评论 -
Codeforces 894C C. Marco and GCD Sequence
C. Marco and GCD Sequence time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output In a dream Marco met an elderly ma原创 2017-11-21 10:51:25 · 514 阅读 · 0 评论 -
Codeforces 892C.Pride
C. Pride time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You have an array a with length n, you can perfo原创 2017-11-18 15:42:27 · 543 阅读 · 0 评论 -
Codeforces 892A. Greed
A. Greed time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Jafar has n cans of cola. Each can is described by原创 2017-11-18 09:10:48 · 576 阅读 · 0 评论 -
HDU 5969 最大的位或
最大的位或 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 2377 Accepted Submission(s): 904 Problem Description B君和G君聊天的时候想到了如下的问题。原创 2017-10-10 10:05:37 · 254 阅读 · 0 评论 -
HDU 5968 异或密码
异或密码 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1868 Accepted Submission(s): 614 Problem Description 晨晨在纸上写了一个长度为N的非负整数序列{a原创 2017-10-10 10:14:03 · 212 阅读 · 0 评论 -
Codeforces 876C Classroom Watch
C. Classroom Watch time limit per test 1 second memory limit per test 512 megabytes input standard input output standard output Eighth-grader Vova is on duty today in th原创 2017-10-16 23:30:02 · 640 阅读 · 0 评论 -
Codeforces 876B. Divisiblity of Differences
B. Divisiblity of Differences time limit per test 1 second memory limit per test 512 megabytes input standard input output standard output You are given a multiset of n原创 2017-10-16 22:51:23 · 383 阅读 · 0 评论 -
51nod 1110 距离之和最小 V3
1110 距离之和最小 V3 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 收藏 关注 X轴上有N个点,每个点除了包括一个位置数据X[i],还包括一个权值W[i]。点P到点P[i]的带权距离 = 实际距离 * P[i]的权值。求X轴上一点使它到这N个点的带权距离之和最小,输出这个最小的带权距离之和。原创 2017-10-14 23:35:49 · 280 阅读 · 0 评论 -
51nod 1109 01组成的N的倍数
1109 01组成的N的倍数 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 收藏 关注 给定一个自然数N,找出一个M,使得M > 0且M是N的倍数,并且M的10进制表示只包含0或1。求最小的M。 例如:N = 4,M = 100。 Input 输入1个数N。(1 Ou原创 2017-10-14 23:43:16 · 339 阅读 · 0 评论 -
POJ 3061 Subsequence
Subsequence Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16812 Accepted: 7141 Description A sequence of N positive integers (10 < N < 100 000), each o原创 2017-10-15 18:49:02 · 231 阅读 · 0 评论 -
HDU 1058 Humble Numbers
Humble Numbers Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 27390 Accepted Submission(s): 12067 Problem Description A number原创 2017-10-15 18:53:33 · 1196 阅读 · 0 评论 -
HDU 1027 Ignatius and the Princess II
Ignatius and the Princess II Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 8871 Accepted Submission(s): 5216 Problem Description原创 2017-10-15 19:10:45 · 230 阅读 · 0 评论 -
51nod 1266 蚂蚁
1266 蚂蚁 题目来源: Poj 基准时间限制:1 秒 空间限制:131072 KB 分值: 20 难度:2级算法题 收藏 关注 n只蚂蚁以每秒1cm的速度在长为Lcm的竿子上爬行。当蚂蚁爬到竿子的端点时就会掉落。由于竿子太细,两只蚂蚁相遇时,它们不能交错通过,只能各自反向爬回去。对于每只蚂蚁,我们知道它距离竿子左端的距离xi,但不知原创 2017-11-12 10:49:51 · 268 阅读 · 0 评论 -
Leetcode 1021 Best Sightseeing Pair
Given an arrayAof positive integers,A[i]represents the value of thei-th sightseeing spot, and twosightseeing spotsiandjhave distancej - ibetween them. Thescoreof a pair (i < j) of si...原创 2019-03-26 19:29:26 · 226 阅读 · 0 评论