## Search found 8 matches

Sun Oct 01, 2006 5:24 pm
Forum: ACM ICPC Archive Board
Topic: 2005 East Central Regional : Square Count
Replies: 3
Views: 2945
I obtained the sample input from the regional site: http://acm.ashland.edu/2005/problem-set.html I've got all test cases correct except for test cases 23-32 (which my output shows more room). Here's what I found in the 23rd test case: (room in (x1, y1), (x2, y2) format) Room 1 : (5542, 5201), (5583,...
Sun Oct 01, 2006 9:26 am
Forum: ACM ICPC Archive Board
Topic: 2005 East Central Regional : Square Count
Replies: 3
Views: 2945

### 2005 East Central Regional : Square Count

Did anyone solve the problem from 2005 East Central America regional contest problem F: Square Count? http://acmicpc-live-archive.uva.es/nuevoportal/data/problem.php?p=3377 I found that the problem statement contradicting: No two rooms will overlap, though they may share a side. And the judge's inpu...
Fri Sep 01, 2006 6:30 am
Forum: Volume 4 (400-499)
Topic: 474 - Heads / Tails Probability
Replies: 50
Views: 11014
Now the funny part is that I checked all possibilities and got the same result, except for n = 6. My solution gave first 2^-6 = 1.563e-2 and got a WA. Now it returns 2^-6 = 1.562e-2 and it gets accepted. In my opinion this is a wrong answer (1.5625 should round up to 1.563). This is crazy! I've got...
Wed Jul 26, 2006 1:30 pm
Forum: C++
Topic: Designing my own Big Integer class, need your suggestions :)
Replies: 4
Views: 2649
Yup I do think that I compiled as optimized code. I'm using Visual Studio 2005 .NET for compiling this BigInteger class. Sometimes, I noticed that by changing some part of the code, I can gain some speed difference (by looping 1000000 times) like 10 seconds, but usually I have to sacrifice it for co...
Wed Jul 26, 2006 2:22 am
Forum: C++
Topic: Designing my own Big Integer class, need your suggestions :)
Replies: 4
Views: 2649
Hey Darko, thank you very much for your reply! It's very much appreciated. :) Yup, I agree with you the pleasure of finishing it is priceless~ I'm working for it in full time right now! Well, this is my progress so far: - Implemented Addition operator - Implemented Subtraction operator - Implemented...
Tue Jul 25, 2006 9:27 pm
Forum: C++
Topic: Designing my own Big Integer class, need your suggestions :)
Replies: 4
Views: 2649

### Designing my own Big Integer class, need your suggestions :)

Hey guys and gals, I'm getting excited to code my own Big Integer library. But of course, I will need your advices and suggestions in making it as efficient as possible! I designed this Big Integer class with some references to the BigInteger class designed by Suman, which can be downloaded here . I...
Tue Jul 04, 2006 2:54 am
Forum: Volume 4 (400-499)
Topic: 494 - Kindergarten Counting Game
Replies: 119
Views: 22237
Thanks temper_3243!

I really appreciate your time for answering my question. And thanks for posting the link for more information. I did learn something new today!!!

I never thought of this before! ohh...
Mon Jul 03, 2006 11:40 pm
Forum: Volume 4 (400-499)
Topic: 494 - Kindergarten Counting Game
Replies: 119
Views: 22237

### 494 WA till I changed input from string to char array.. Why?

Hey guys, I've tried submitting this code so many times, until I changed the input from string to char array, and it got AC. Here is my code which got WA (it's exactly the same output of the code I got AC, the only difference is input by char array instead of string)... #include <iostream> #include ...