Search found 45 matches

by suman
Tue Nov 26, 2002 11:25 pm
Forum: Volume 6 (600-699)
Topic: 698 - Index
Replies: 21
Views: 8337

To err is human

hi, The following modification of your code compiles under g++ cygwin. You made some mistakes. Try looking at the changes. The OJ uses differnent compiler which is obviously better than VC++6.0. Try the dev-cpp which is a windows port of gcc. You can find it at http://www.sourceforge.net. [cpp] #inc...
by suman
Tue Nov 26, 2002 10:55 pm
Forum: Algorithms
Topic: A really really good book specialized on graph
Replies: 5
Views: 3263

A really really good book specialized on graph

Hi,
Can any one suggest me a really very good book specialized only on graph? Better if free on online. It may be for intermediate or advanced level. Thanks in advance.


- Suman
by suman
Tue Nov 26, 2002 10:51 pm
Forum: Algorithms
Topic: Arbitrary Precision Arithmatic : BigInteger Algorithm
Replies: 9
Views: 7484

I am working on it

Hi, The post is viewed for about 200 times, but only one improvement suggestion from Adrian. Thanks Adrian. I am working on the improvement. But I am little busy with something. So can't say when that will be ready. Thanks again for the suggestion. - Suman
by suman
Tue Nov 26, 2002 9:16 pm
Forum: C++
Topic: Grow Array Size
Replies: 13
Views: 4543

Careful While Using pointer

Hi,
What are you trying to do is really dangerous. In the code you are what you are trying will do the following,

[cpp]
BigInteger a(
by suman
Tue Nov 26, 2002 7:35 pm
Forum: C
Topic: How To
Replies: 3
Views: 2361

Some URL

Hi, You are right moni the code is BIG, but if one understand the whole thing then its easy to chop the unwanted portion of the code during the contest. And sorry to rajib if I bothered you indicating the `thing'. However here is a url where you will get some very good implemntation of big number, b...
by suman
Fri Nov 22, 2002 12:09 pm
Forum: C
Topic: How To
Replies: 3
Views: 2361

Try algorithm thread

Hi,
Why don't you try the algorithm thread and see the post on BigInteger. I think this may help you. If you want to implement one of your own, see D.E.Knuth TAOCP, Volume2 Seminumerical Algorithm.

Bye.


- Suman
by suman
Fri Nov 22, 2002 12:01 pm
Forum: C++
Topic: Old G++ version unacceptable
Replies: 4
Views: 2834

If you ever return

Hi, I am posting this message hoping that you may return to see it. However would you please tell me which C++ feature you expected but not in g++? As far as I know the compiler is gcc2.7 (or later). My experience tell me that most of the C++ features is best implemented in borland C++, then gcc the...
by suman
Fri Nov 22, 2002 11:44 am
Forum: Other words
Topic: Free book of Algorithms
Replies: 6
Views: 2792

You are welcome

Hi,
You are welcome. You may also find the implementations I am posting under the Algorithm thread. Check it out. Best of luck.

- Suman
by suman
Wed Nov 20, 2002 2:01 pm
Forum: Algorithms
Topic: Algorithm Post 3 : An Array implemetation
Replies: 0
Views: 1602

Algorithm Post 3 : An Array implemetation

Hi, Probably the most common way to aggregate data is to use an array. While the C++ programming language does indeed provide built-in support for arrays, that support is not without its shortcomings. Arrays in C++ are not first-class data types. There is no such thing as an array-valued expression....
by suman
Wed Nov 20, 2002 12:39 pm
Forum: C++
Topic: Grow Array Size
Replies: 13
Views: 4543

Why don't you try "vector"

Hi, Your approach is good but somewhat incomplete. The thing you are trying to do is already there in the STL ( S tandard T emplate L ibrary). Its nicer then you may anticipate. Try the following. [cpp] #include <cstdio> #include <iostream> #include <vector> int main() { // integer array vector<int>...
by suman
Mon Nov 18, 2002 10:28 pm
Forum: Other words
Topic: Mr. Mahbub, would u plz help me !!!
Replies: 2
Views: 1463

Try the "Call for problem" option

Hi, I don't know what are you looking for. But a new user here seems to always be a solver first, then a problem setter. However this acm team is nice and provided option for sharing programming knowledge. You can see the http://acm.uva.es/contest/call.html page for details. Best of luck. - Suman
by suman
Sun Nov 17, 2002 3:20 pm
Forum: C++
Topic: an Ambiguity in istrstream
Replies: 2
Views: 1861

Compiler?

Hi,
Which compiler are you using? It seems to be a compiler problem, while handling global data.

- Suman
by suman
Sat Nov 16, 2002 5:18 pm
Forum: Algorithms
Topic: Arbitrary Precision Arithmatic : BigInteger Algorithm
Replies: 9
Views: 7484

Thanks for the inspiration

Hi, Thanks for inspiring me that way, :D . USE ----- As easy as using built-in Integers. DOC ----- No doc right now, sorry. Limitation ----------- Lots , heres few > Implementation of << (or >>) as indicated in the source code is not done. > Full use of 32 bit integer is not done, this would make mu...
by suman
Wed Nov 13, 2002 12:57 am
Forum: Algorithms
Topic: Arbitrary Precision Arithmatic : BigInteger Algorithm
Replies: 9
Views: 7484

Arbitrary Precision Arithmatic : BigInteger Algorithm

Hi, Followed from the previous mail this is my first posting on sharing algorithms. As lot of problems involves operation on arbitrary precision integer I am starting with this one. Here is the BigInteger class, as named in Java library. I created this a lot many times in different way. This version...
by suman
Wed Nov 13, 2002 12:51 am
Forum: Algorithms
Topic: Let us make this world a better place
Replies: 1
Views: 1685

Let us make this world a better place

Hi,
I don

Go to advanced search