c++ data structure

已取消 已发布的 Feb 1, 2006 货到付款
已取消 货到付款

I need a c++ data/class structure that:

* Stores 32 bit values.

* Every time a valueis stored, a 32 bit counter is increased by a value - one by defualt, but could be more than one. Never negative. (Each 32 bit value has a counter of its own.)

Example:

Insert(10)

Insert(10)

Insert(12)

Result - prints like (sorted on value):

10 2

12 1

It is more important that insertion is fast than retreival. There will be a huge number of insertions, but relatively few retrivals.

It shall be possible to get value pairs sorted on value or count.

There must be a guard against allocating too much memory that is configurable - constant and re-compile is ok.

There shall be an API that "returns" following (actual return "things" depends on data structures used):

* "List" sorted on value - low to high.

* "List" sorted on count - low to high.

* "List" sorted on count - high to low.

* "List" sorted on value, for range of values only only - low to high. (for instance values 1000-10000).

When inserting, there shall be a "count" that is normally "1", but can be larger so that the count increases with the provided value, instead of one. Also, when inserting count shall stop at 0xFFFFFFFF and never wrap.

Make a small console application that demonstrates the functionality - read values from file, and print to stdio.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

No MFC. STL ok. Visual C++ 2003, or Borland C++ Builder 6

C 编程 工程 MySQL PHP 软件构架 软件测试

项目ID: #3255308

关于项目

31个方案 远程项目 活跃的Feb 2, 2006

有31名威客正在参与此工作的竞标,均价$34/小时

evsoft32

See private message.

$17 USD 在10天内
(145条评论)
6.7
softensive

See private message.

$80.75 USD 在10天内
(58条评论)
6.8
dragomirvw

See private message.

$38.25 USD 在10天内
(150条评论)
5.6
maeenul

See private message.

$25.5 USD 在10天内
(159条评论)
5.8
aldea

See private message.

$21.25 USD 在10天内
(59条评论)
5.3
communicationvw

See private message.

$51 USD 在10天内
(55条评论)
5.2
gamesengineer

See private message.

$51 USD 在10天内
(25条评论)
4.5
asalah

See private message.

$42.5 USD 在10天内
(33条评论)
4.5
parchon

See private message.

$25.5 USD 在10天内
(40条评论)
4.4
vw1673017vw

See private message.

$85 USD 在10天内
(23条评论)
4.1
paxdiablo

See private message.

$20.4 USD 在10天内
(72条评论)
4.4
kchadrasekh

See private message.

$8.5 USD 在10天内
(19条评论)
3.9
nitinmidha

See private message.

$59.5 USD 在10天内
(6条评论)
2.7
larchsoft

See private message.

$85 USD 在10天内
(5条评论)
2.9
synapsesecurity

See private message.

$42.5 USD 在10天内
(4条评论)
2.6
omeraevw

See private message.

$63.75 USD 在10天内
(2条评论)
2.6
rodrigotrida

See private message.

$25.5 USD 在10天内
(4条评论)
3.0
citoyen89vw

See private message.

$4.25 USD 在10天内
(6条评论)
2.2
amoej1

See private message.

$59.5 USD 在10天内
(5条评论)
2.3
ig3dmediainc

See private message.

$25.5 USD 在10天内
(5条评论)
2.7