Search found 160 matches

by _.B._
Mon Mar 14, 2005 7:28 am
Forum: Volume 108 (10800-10899)
Topic: 10823 - Of Circles and Squares
Replies: 50
Views: 10851

Good.

Thanks Suman!
Now I need some critical input to test the precission of my code :o
sumankar wrote:My code (AC/PE)
Remember blank lines are only between test cases, maybe you are printing one extra line at the end of the output.

Keep posting!
by _.B._
Mon Mar 14, 2005 6:46 am
Forum: Volume 108 (10800-10899)
Topic: 10823 - Of Circles and Squares
Replies: 50
Views: 10851

Need I/O.

Greetings! Time to post some I/O 8) Can anyone please post some critical Input/Output for this problem? Is this I/O good?: Input: 3 1 1 SQUARE 0 0 5 0 0 0 0 5 3 3 CIRCLE 0 0 5 10 10 10 SQUARE 1 1 5 255 10 10 CIRCLE 5 5 3 0 0 0 5 6 6 5 8 5 3 9 CIRCLE 0 0 7 255 0 0 SQUARE 2 -1 6 0 0 255 CIRCLE 4 7 4 0...
by _.B._
Wed Jan 12, 2005 6:20 am
Forum: Volume 6 (600-699)
Topic: 630 - Anagrams (II)
Replies: 25
Views: 6312

Greetings!
Did you try the I/O posted above?
by _.B._
Wed Jan 12, 2005 6:03 am
Forum: Pascal
Topic: BigInteger in pascal
Replies: 3
Views: 7172

To write, or not to write.

Greetings! For a 32-bit compiler like FreePascal, the big integer types and ranges are: Predefined integer types Type Range Size in bytes Byte 0 .. 255 1 Shortint -128 .. 127 1 Smallint -32768 .. 32767 2 Word 0 .. 65535 2 Integer either smallint, longint or int64 size 2,4 or 8 Cardinal either word, ...
by _.B._
Wed Jan 12, 2005 5:45 am
Forum: Pascal
Topic: Fornatting Decimal in Pascal
Replies: 3
Views: 8024

Some code.

Greetings! Everytime I learn something new, I try to code it in different ways. Try something like this: Code: program Formato; begin writeLn(pi:0:0); writeLn(pi:0:1); writeLn(pi:0:2); writeLn(pi:0:3); writeLn(pi:0:4); writeLn(pi:0:5); writeLn(pi:0:6); writeLn(pi:0:7); writeLn; writeLn(pi:0:2); writ...
by _.B._
Mon Jan 10, 2005 11:41 pm
Forum: Volume 107 (10700-10799)
Topic: 10772 - Rose windows
Replies: 8
Views: 2183

My way.

Greetings! Hey Sohel! I had a different approach for this problem. I worked only with the "apotemas" (it's like the height of the triangles that form a regular polygon, don't know how to translate it) and the radius of the polygons. You MAY see the pattern to build the smaller polygons from the main...
by _.B._
Sat Jan 08, 2005 7:54 am
Forum: Volume 107 (10700-10799)
Topic: 10745 - Dominant Strings
Replies: 38
Views: 17130

I/O

Greetings!
Will any of you please post a critical Input/Output to illustrate all the rules you mention here? :o
Thanks in advance!

Keep posting!
by _.B._
Tue Jan 04, 2005 7:36 am
Forum: Volume 107 (10700-10799)
Topic: 10720 - Graph Construction
Replies: 49
Views: 30636

Frozen.

Greetings!
Can anyone tell me the logic on a negative degree of a vertice? :o
Will it be a valid input for this problem?

Thanks in advance!
by _.B._
Mon Jan 03, 2005 4:15 am
Forum: Volume 107 (10700-10799)
Topic: 10761 - Broken Keyboard
Replies: 31
Views: 11907

This I/O.

Greetings! Had WA until I read these posts and tried this Input (and got this Output): Input: eN E n ; END abcdefgHIJKLMNOPqrstUvwxY asd wgewer egr erg q34t e4 t434w g 3423234 END abcdefgHIJKLMNOPqrstUvwxY 0123456789 =!"#$%&/() END finish Output: +----------+----------------+------------------------...
by _.B._
Sat Dec 25, 2004 11:03 am
Forum: Volume 6 (600-699)
Topic: 694 - The Collatz Sequence
Replies: 46
Views: 15826

Re: Need help.

Thanks H!
Had some other error too.

Keep posting!
by _.B._
Thu Sep 09, 2004 4:56 pm
Forum: Algorithms
Topic: Generate Carmichael Numbers.
Replies: 0
Views: 739

Generate Carmichael Numbers.

Greetings!
I modified my Prime Number algo, taken from this forum, and used Halim's Big Mod algo to generate the Carmichael Numbers.
Now, I had to test the numbers for bases 2, 3 and 5.
What's a fastest way to generate them? or how can I improve this algorithm?

[cpp]// Bernardo E. L
by _.B._
Thu Sep 09, 2004 4:50 pm
Forum: Algorithms
Topic: Prime Number
Replies: 8
Views: 1663

Have to check it.

Greetings Per!
Thanks, I'll have to check for that too.

Keep posting!
by _.B._
Mon Sep 06, 2004 4:45 pm
Forum: Algorithms
Topic: Prime Number
Replies: 8
Views: 1663

Thanks.

Thanks to both of you!
I'll consider it all :wink:

Keep posting!
by _.B._
Mon Sep 06, 2004 4:22 pm
Forum: Volume 106 (10600-10699)
Topic: 10697 - Firemen barracks
Replies: 45
Views: 15619

Good!

Eduard wrote:But anyway after changing it I got AC. :D
Good! 8)
Maybe you can say what was your mistake, so others can check for it too :wink:

Keep posting!

Go to advanced search