![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM 数据结构
文章平均质量分 80
FoRever
看淡了...A多少题并不是水平的体现...我自己学的爽就行...
展开
-
POJ 2352 Stars 线段树
Language:DefaultStarsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 24726 Accepted: 10782DescriptionAstronomers often examine star maps where sta原创 2013-03-08 20:41:52 · 931 阅读 · 0 评论 -
POJ 1840 Eqs Hash
/*DescriptionConsider 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 · 475 阅读 · 1 评论 -
POJ 2002 Squares Hash
/*2002 - SquaresTime Limit:3500MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uStatusDescriptionA square is a 4-sided polygon whose sides have equal length and adjacent sides form 90原创 2012-03-13 16:23:47 · 335 阅读 · 0 评论 -
POJ 2299 Ultra-QuickSort 线段树/树状数组/并归排序
Language:DefaultUltra-QuickSortTime Limit: 7000MS Memory Limit: 65536KTotal Submissions: 31077 Accepted: 11082DescriptionIn this problem, you have to analyz原创 2013-03-10 14:49:10 · 757 阅读 · 0 评论 -
POJ 3349 Snowflake Snow Snowflakes Hash
/*Snowflake Snow SnowflakesTime Limit: 4000MS Memory Limit: 65536KDescriptionYou 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 · 388 阅读 · 0 评论 -
POJ 2155 Matrix 线段树解法
楼教主的二维线段树(树状数组) ---------------这一题是真的不知道怎么做 ,但还是AC了...题目我就不贴了...我就简单说一下题意:1000*1000的矩阵,给你50000个操作C操作 对从左上角(x1,y1)到右下角(x2,y2)的矩形中所有元素取反Q操作 查询某坐标下元素的值一看就是经典树状数组或者线段树了,大部分题解都很偷懒都原创 2013-03-13 20:09:19 · 752 阅读 · 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 · 1034 阅读 · 0 评论