上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: 1 // inserting into a string 2 #include <iostream> 3 #include <string> 4 5 int main () 6 { 7 std::string str="to be question"; 8 std::string str2="the 阅读全文
posted @ 2018-07-23 17:02 木流牛马 阅读(547) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/waltonhuang/article/details/52149777 大神博客 https://www.nowcoder.com/practice/876e3c5fcfa5469f8376370d5de87c06?tpId=85&&tqId=29847 阅读全文
posted @ 2018-07-23 15:02 木流牛马 阅读(183) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/LearningTheLoad/p/7450948.html 阅读全文
posted @ 2018-07-23 13:37 木流牛马 阅读(63) 评论(0) 推荐(0) 编辑
摘要: https://www.nowcoder.com/practice/7e7ccd30004347e89490fefeb2190ad2?tpId=85&&tqId=29853&rp=5&ru=/activity/oj&qru=/ta/2017test/question-ranking 题目 其实一开始 阅读全文
posted @ 2018-07-23 11:38 木流牛马 阅读(118) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/wangchao7281/article/details/52740793 题意 以及 3 种做法 https://www.nowcoder.com/practice/49cb3d0b28954deca7565b8db92c5296?tpId=85&&tq 阅读全文
posted @ 2018-07-23 10:07 木流牛马 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 题目:一只袋鼠要从河这边跳到河对岸,河很宽,但是河中间打了很多桩子,每隔一米就有一个,每个桩子上都有一个弹簧,袋鼠跳到弹簧上就可以跳的更远,每个弹簧力量不同,用一个数字代表它的力量,如果弹簧力量为5,就代表袋鼠下一跳最多能够跳5米,如果为0,就会陷进去无法继续跳跃,河流一共N米宽,袋鼠初始位置就在第 阅读全文
posted @ 2018-07-21 11:48 木流牛马 阅读(222) 评论(0) 推荐(0) 编辑
摘要: https://www.nowcoder.com/practice/7f26bfeccfa44a17b6b269621304dd4a?tpId=85&&tqId=29890&rp=1&ru=/activity/oj&qru=/ta/2017test/question-ranking 给定一个十进制的 阅读全文
posted @ 2018-07-21 09:57 木流牛马 阅读(130) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/qscqesze/p/5925893.html 原博客 http://codeforces.com/group/1EzrFFyOc0/contest/721/problem/D 题目 题意 给你n个数,你可以操作k次,每次使得一个数增加x或者减小x 你 阅读全文
posted @ 2018-07-20 10:54 木流牛马 阅读(311) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/guhaiteng/article/details/52730373 参考题解 http://codeforces.com/contest/723/problem/D 原题目 BFS: 第一次先把湖找出来,并记录湖的大小,然后存在结构体node中,最后so 阅读全文
posted @ 2018-07-19 16:21 木流牛马 阅读(202) 评论(0) 推荐(0) 编辑
摘要: https://www.luogu.org/problemnew/show/P1141 这题全部输入后 把答案存起来 ,再把答案一次性输出 和边输入边输出 前者时间花的更少。 用stack来打表吧,针对同一个n 同一个mp地图,把所有的点分别能到几个地方 都算一遍,(能到达一个相同地方的不同点 ,一 阅读全文
posted @ 2018-07-18 17:09 木流牛马 阅读(130) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页