The test cases I posted were in my post right before yours.
I see that my message there has been cut away (removed).
Maybe my posting of that information was not allowed :(
Ok, from memory I can offer only small advice, and that is to be sure to write test cases to check border conditions.
Hope ...
Search found 21 matches
- Tue Jan 16, 2007 10:27 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10427 - Naughty Sleepy Boys
- Replies: 35
- Views: 25149
- Tue Jan 16, 2007 10:15 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10427 - Naughty Sleepy Boys
- Replies: 35
- Views: 25149
- Fri Dec 01, 2006 1:51 am
- Forum: Other words
- Topic: C++ program
- Replies: 1
- Views: 2243
- Wed Nov 15, 2006 10:35 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10434 - Working With Specific Gravity
- Replies: 2
- Views: 2231
- Wed Nov 15, 2006 7:53 am
- Forum: Volume 104 (10400-10499)
- Topic: 10434 - Working With Specific Gravity
- Replies: 2
- Views: 2231
10434 - Working With Specific Gravity
The problem is not a big deal, but watch out that you use a good pi value.
I used 3.14159 from memory, but it was not good enough.
Pi is in math.h, and on MS compilers its ifdef'd out.
here it is: 3.14159265358979323846, u can borrow it :wink:
Maybe best to copy & paste it to a variable on such ...
I used 3.14159 from memory, but it was not good enough.
Pi is in math.h, and on MS compilers its ifdef'd out.
here it is: 3.14159265358979323846, u can borrow it :wink:
Maybe best to copy & paste it to a variable on such ...
- Tue Nov 14, 2006 4:14 am
- Forum: Algorithms
- Topic: Recursion to Dynamic Programming, how?
- Replies: 1
- Views: 2502
- Fri Nov 10, 2006 2:53 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10427 - Naughty Sleepy Boys
- Replies: 35
- Views: 25149
- Thu Nov 09, 2006 7:13 am
- Forum: Volume 104 (10400-10499)
- Topic: 10427 - Naughty Sleepy Boys
- Replies: 35
- Views: 25149
- Thu Nov 09, 2006 4:45 am
- Forum: Volume 104 (10400-10499)
- Topic: 10427 - Naughty Sleepy Boys
- Replies: 35
- Views: 25149
- Wed Nov 08, 2006 10:28 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10427 - Naughty Sleepy Boys
- Replies: 35
- Views: 25149
- Wed Nov 08, 2006 9:40 am
- Forum: Volume 104 (10400-10499)
- Topic: 10427 - Naughty Sleepy Boys
- Replies: 35
- Views: 25149
- Wed Nov 08, 2006 6:23 am
- Forum: Volume 104 (10400-10499)
- Topic: 10427 - Naughty Sleepy Boys
- Replies: 35
- Views: 25149
- Wed Nov 08, 2006 5:50 am
- Forum: Volume 104 (10400-10499)
- Topic: 10427 - Naughty Sleepy Boys
- Replies: 35
- Views: 25149
- Tue Nov 07, 2006 8:03 am
- Forum: Bugs and suggestions
- Topic: Suggest new problems?
- Replies: 2
- Views: 1807
Suggest new problems?
I really like all of these programming problems.
Is there a method or procedure for submitting new problems?
thank you
Is there a method or procedure for submitting new problems?
thank you
- Sun Nov 05, 2006 6:00 am
- Forum: Other words
- Topic: data security
- Replies: 3
- Views: 3032