上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页
摘要: 公元201820182018年已经正式过去了。过去的一年,发生了很多事情,也经历了很多,得到了很多。在这里写一下总结流水账,并为201920192019定一些小目标吧~四月一日... 阅读全文
posted @ 2019-02-05 21:17 友人-A 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 题目描述在河上有一座独木桥,一只青蛙想沿着独木桥从河的一侧跳到另一侧。在桥上有一些石子,青蛙很讨厌踩在这些石子上。由于桥的长度和青蛙一次跳过的距离都是正整数,我们可以把独木桥上... 阅读全文
posted @ 2019-02-03 19:59 友人-A 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/ACdreamers/article/details/18501855mod4最优路径问题如下图: 从1到4找出一条路径,要求路径的总长度mod4的余数最小。分析:一条从1到4的最优路径,在它走到2或3时mod4的余数不... 阅读全文
posted @ 2019-02-03 11:01 友人-A 阅读(296) 评论(0) 推荐(0) 编辑
摘要: The ministers of the cabinet were quite upset by the message from the Chief of Security ... 阅读全文
posted @ 2019-02-01 13:15 友人-A 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 内存限制:64MB 时间限制:1000ms 特判: No通过数:54 提交数:158 难度:6题目描述:给你一个字符串,里面只包含"(",")","[","]"四种符号,请问你需要至少添加多少个括号才能使这些括号匹配起来。如:[]是匹配的([])[]是匹配的... 阅读全文
posted @ 2019-01-21 16:36 友人-A 阅读(194) 评论(0) 推荐(0) 编辑
摘要: time limit per test: 1 secondmemory limit per test: 256 megabytesinput: standard inputoutput: standard outputAyoub had an array a... 阅读全文
posted @ 2019-01-21 11:43 友人-A 阅读(299) 评论(0) 推荐(0) 编辑
摘要: time limit per test: 1 secondmemory limit per test: 256 megabytesinput: standard inputoutput: standard outputGiven a string sss o... 阅读全文
posted @ 2019-01-21 11:28 友人-A 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/338/I来源:牛客网题目描述IG won the S championship and many people are excited, ii and gg are no exc... 阅读全文
posted @ 2019-01-07 10:42 友人-A 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 取(m堆)石子游戏Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4610 Accepted... 阅读全文
posted @ 2019-01-03 17:41 友人-A 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 题目链接需要用到的位运算操作:异或(^)、与(&)、右移(<<)异或运算:又称不进位加法,a^b得到的结果为a与b相加,但是需要进位的地方不进位得到的结果与运算:找出来a和b中均为1的位置,利用右移操作来实现进位a+ba+ba+b可以转换成位运算:a+b=(... 阅读全文
posted @ 2019-01-01 17:51 友人-A 阅读(994) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页