
Onlin-Judge
Brickie-liu
这个作者很懒,什么都没留下…
展开
-
91. 文件系统 code.bupt.edu.cn 题干问题
题目描述现在很多操作系统的文件系统都是基于树形结构设计的。即一个目录下可以有若干个目录和文件,而每个目录和文件都可以通过一条从根目录出发的唯一路径来唯一确定。我们希望你实现对这样的一个文件系统的简单管理。 为了简化问题,我们做出如下假设: 假设文件系统初始时只有一个根目录root。 假设所有出现的文件和目录的名字都是唯一的。即,不会有两个相同名字的文件出现,不会有两个相同名字的目录出现,也不会原创 2016-03-01 15:29:16 · 2364 阅读 · 0 评论 -
85. Three Points On A Line
时间限制 1000 ms 内存限制 65536 KB 题目描述 Given points on a 2D plane, judge whether there’re three points that locate on the same line.输入格式 The number of test cases T(1≤T≤10) appears in the first line of inpu原创 2016-02-27 11:44:46 · 1198 阅读 · 0 评论 -
堆-测试
include include include include using namespace std; template void show(T &arry){ for(auto &k : arry){ std::cout<<" "<<k; } std::cout<&原创 2018-08-29 15:42:55 · 557 阅读 · 0 评论