
simple
guogeer
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
usaco Electric Fence
这道题比较简单。 不过还是得注意考虑几种特殊情况,如下所示: 还有就是得去掉相交的点即可。 代码如下: /* ID: guo geer PROG: fence9 LANG: C++ */ #include #include #include #include #include #include using namespace std; int main() { freop原创 2011-10-27 13:16:35 · 1016 阅读 · 0 评论 -
usaco American Heritage
这道题可以用来练习编码! 代码如下: /* ID: guo geer PROG: heritage LANG: C++ */ #include #include #include #include #include using namespace std; struct Node { char v; Node *left; Node *right;原创 2011-10-28 09:25:38 · 900 阅读 · 0 评论