
ACM 数据结构
文章平均质量分 80
FoRever
看淡了...A多少题并不是水平的体现...我自己学的爽就行...
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ 2352 Stars 线段树
Language: Default Stars Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 24726 Accepted: 10782 Description Astronomers often examine star maps where sta原创 2013-03-08 20:41:52 · 963 阅读 · 0 评论 -
POJ 1840 Eqs Hash
/* Description Consider equations having the following form: a1x13+ a2x23+ a3x33+ a4x43+ a5x53=0 The coefficients are given integers from the interval [-50,50]. It is consider a solution a system (原创 2012-03-14 17:12:35 · 512 阅读 · 1 评论 -
POJ 2002 Squares Hash
/* 2002 - Squares Time Limit:3500MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Status Description A square is a 4-sided polygon whose sides have equal length and adjacent sides form 90原创 2012-03-13 16:23:47 · 361 阅读 · 0 评论 -
POJ 2299 Ultra-QuickSort 线段树/树状数组/并归排序
Language: Default Ultra-QuickSort Time Limit: 7000MS Memory Limit: 65536K Total Submissions: 31077 Accepted: 11082 Description In this problem, you have to analyz原创 2013-03-10 14:49:10 · 787 阅读 · 0 评论 -
POJ 3349 Snowflake Snow Snowflakes Hash
/* Snowflake Snow Snowflakes Time Limit: 4000MS Memory Limit: 65536K Description You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is rea原创 2012-03-21 18:42:22 · 415 阅读 · 0 评论 -
POJ 2155 Matrix 线段树解法
楼教主的二维线段树(树状数组) ---------------这一题是真的不知道怎么做 ,但还是AC了... 题目我就不贴了...我就简单说一下题意: 1000*1000的矩阵,给你50000个操作 C操作 对从左上角(x1,y1)到右下角(x2,y2)的矩形中所有元素取反 Q操作 查询某坐标下元素的值 一看就是经典树状数组或者线段树了,大部分题解都很偷懒都原创 2013-03-13 20:09:19 · 785 阅读 · 0 评论 -
POJ 3264 Balanced Lineup
#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include原创 2013-03-23 17:01:27 · 1069 阅读 · 0 评论