05 2020 档案

摘要:UVA 699 稍微用到了一点回溯思想的二叉树。 贴代码: #include<iostream> using namespace std; bool solve(int& w){ int W1, D1, W2, D2; bool b1 = true, b2 =true; cin >> W1 >> D 阅读全文
posted @ 2020-05-28 11:15 LeoRanbom 阅读(127) 评论(0) 推荐(0)
摘要:UVA679.小球下落 A number of K balls are dropped one by one from the root of a fully binary tree structure FBT. Each time the ball being dropped first visi 阅读全文
posted @ 2020-05-26 00:10 LeoRanbom 阅读(152) 评论(0) 推荐(0)
摘要:UVA11988:悲剧文本 You’re typing a long text with a broken keyboard. Well it’s not so badly broken. The only problem with the keyboard is that sometimes th 阅读全文
posted @ 2020-05-25 15:37 LeoRanbom 阅读(189) 评论(0) 推荐(0)
摘要:之前看了一遍容器和迭代器,但听了学长说的,感觉我的理解有点偏差。打算来学习学习容器的具体用法,敲一敲。 先来学习顺序容器vector的用法。 [TOC] 类似于C风格的数组;元素内存空间连续,每个元素有自己的槽。在vector中可建立索引。可以在任何位置添加或删除新元素,需要线性时间。在尾部执行操作 阅读全文
posted @ 2020-05-07 19:52 LeoRanbom 阅读(267) 评论(0) 推荐(0)
摘要:这几天大概了解了一下标准库里面的函数都是哪些方面的,然后去医院照顾奶奶了几天。期间看了容器和迭代器相关。 [TOC] 标准库的概述 大概有这么几种组件:字符串、正则表达式、IO流、智能指针、异常、数学工具、时间工具、随机数、初始化列表、pair和tuple、optional、variant和any、 阅读全文
posted @ 2020-05-06 16:28 LeoRanbom 阅读(334) 评论(0) 推荐(0)
摘要:对MC基岩版的一次开发 这2天在搞mc服务器。在C++基础终于不是太差的情况下,终于可以写一些像样的东西了。然后就写了一个MC Server的小插件。 https://www.minebbs.com/resources/vampire 1 14 60.1152/ 大概过程就是: 先提出idea,然后 阅读全文
posted @ 2020-05-03 14:02 LeoRanbom 阅读(778) 评论(0) 推荐(0)