Search found 45 matches

by suman
Tue Nov 12, 2002 6:25 pm
Forum: C++
Topic: Quick Question on std::string
Replies: 1
Views: 1576

Try std::strstream

Hi, As you have used sprintf, you can use strstream in a similar way. C - C++ -------------------------------------------------- printf,scanf standard I/O cout, cin sprintf,sscanf string I/O strstream object try any stl documents for the use. - Suman
by suman
Tue Nov 12, 2002 6:19 pm
Forum: Algorithms
Topic: Subthread on different algorithms
Replies: 0
Views: 1522

Subthread on different algorithms

Hi, After using a thread on algorithm I am having the feeling that it should appear since the board first created. Now I got another feeling, sooner or later it would need subthreads on different types of algorithms. As algorithm itself is vast so soon it will need subthreads. I know some of you may...
by suman
Tue Nov 12, 2002 6:05 pm
Forum: Algorithms
Topic: Random Numbers
Replies: 3
Views: 2283

Try D.E.Knuth Volume 2

Hi, Let me suggest you one thing. Why don't you try reading Volume 2 of The art of computer programming by D.E. Knuth? An entire chapter (chapter 3) is devoted on random numbers. Also see java source java.util.Random.java for its implementations. You can see some corrections as proposed in the corre...
by suman
Wed Oct 23, 2002 6:13 pm
Forum: Other words
Topic: New: Submit-o-matic
Replies: 23
Views: 6027

Detailed message in case of compile error

Hi,
The submit-o-matic is very nice for submission. But incase of "compile error" is not informative. Is it possible to improve it, thus detail compile error can be viewed.
Thanks.


- Suman
by suman
Thu Sep 12, 2002 4:47 pm
Forum: Other words
Topic: Free book of Algorithms
Replies: 6
Views: 2834

A very good book on Algorithm (also Free)

Three books on algorithm can be found at
http://www.brpreiss.com/opera.html

I think the books are very good. I am implementing all the classes in C++ (almost complete). You may (or may not) find it helpful.

- Suman
by suman
Sun Jul 07, 2002 2:36 pm
Forum: Volume 1 (100-199)
Topic: 172 - Calculator Language
Replies: 35
Views: 5683

WA Problem 172 - Calculator Language

Tryig to solve but WA. Input S = ((M+N)+(9*2))+(2+3)*(A+2)*(D=3) A = B = 4 C = (D = 2)*_2 C = D = 2 * _2 F = C - D E = D * _10 Z = 10 / 3 Y = 15 - 8 - 3 U = (((M+N)+(9*2))+(2+3)*(A+2)*(D=3))*(S = ((M+N)+(9*2))+(2+3)*(A+2)*(D=3)) # and Output D = 3, S = 48 A = 4, B = 4 C = -4, D = 2 D = -4 No Change ...
by suman
Fri Mar 01, 2002 12:58 pm
Forum: Other words
Topic: Who knows how to write an online judge system?
Replies: 6
Views: 3509

Hi, I have written a Judging System, just for fun. it can compile any configured language (theoratically at least). I have tested it with Turbo C++ 3.0 , Borland C++ 5.5 (Free Version) , and JDK 1.3 . However I could not provide lot time in it. It has some inability. It can't restrict some function,...
by suman
Thu Jan 17, 2002 7:38 pm
Forum: Volume 101 (10100-10199)
Topic: 10108 - The Mosquito Killer Mosquitos
Replies: 5
Views: 2420

Yes , you must use BigNum plus the square root function for it. Consider the boundary cases for TLE. Consider these Input ----- 1 2147483647 0 2147483647 2147483647 0 2147483647 1 Output ------ Number of mosquitos in the pond at the end of 2147483647'th day is 1. Number of mosquitos in the pond at t...
by suman
Thu Jan 17, 2002 7:32 pm
Forum: Volume 4 (400-499)
Topic: 428 - Swamp County Roofs
Replies: 7
Views: 2487

Then how can I understand the input finished? Moreover, are the Angles within the limit 180 to -180 ?
Thanks in advance.


- Suman
by suman
Wed Jan 16, 2002 11:12 am
Forum: Volume 4 (400-499)
Topic: 428 - Swamp County Roofs
Replies: 7
Views: 2487

I think my calculations are ok. But there may be any trick cause my program WA. please help.


- Suman
by suman
Fri Jan 11, 2002 10:34 pm
Forum: Volume 101 (10100-10199)
Topic: 10108 - The Mosquito Killer Mosquitos
Replies: 5
Views: 2420

You are abosolutely wrong. Read this portion of the statement "Any two of them will be able to regenerate new mosquitos among themselves. In one day they will meet just once with every mosquito and lay only one egg for each meet. The eggs will become rapidly reproducable mosquitos on the next day. I...
by suman
Thu Jan 10, 2002 10:26 am
Forum: Volume 6 (600-699)
Topic: 619 - Numerically Speaking
Replies: 10
Views: 5014

Pervious message was reformated by the board trying this output ------ i 009 aa 27 aa 27 a 1 j 10 z 0 z 26 z 26 bz 78 bz 78 az 52 az 52 cz 104 cz 104 aaz 728 aaz 728 elementary 29,697,684,282,993 transcendental 51,346,529,199,396,181,750 prestidigitation 28,011,622,636,823,854,456,520 computationall...
by suman
Thu Jan 10, 2002 10:24 am
Forum: Volume 6 (600-699)
Topic: 619 - Numerically Speaking
Replies: 10
Views: 5014

I used Input ----- 009 aa 27 1 10 0 26 z 78 bz 52 az 104 cz 728 aaz 29697684282993 transcendental 28011622636823854456520 computationally zzzzzzzzzzzzzzzzzzzz 157118051752 eclectic perspective 35672211599026729 a c b z * and output ---------- i 009 aa 27 aa 27 a 1 j 10 z 0 z 26 z 26 bz 78 bz 78 az 5...
by suman
Fri Oct 19, 2001 9:34 am
Forum: Other words
Topic: What about combining areas ?
Replies: 4
Views: 3594

Sorry for the typing mistake.

"This is better than combining all those Problem Set. .............."
by suman
Fri Oct 19, 2001 9:33 am
Forum: Other words
Topic: What about combining areas ?
Replies: 4
Views: 3594

This is than combining all those Problem Set. But there may be a common place where we can see all the messages combined. Some may find it helpful. But it is not that much necessary.

- Suman

Go to advanced search