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 ...
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: 4537
- Sun Oct 01, 2006 9:26 am
- Forum: ACM ICPC Archive Board
- Topic: 2005 East Central Regional : Square Count
- Replies: 3
- Views: 4537
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 ...
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 ...
- Fri Sep 01, 2006 6:30 am
- Forum: Volume 4 (400-499)
- Topic: 474 - Heads / Tails Probability
- Replies: 50
- Views: 18927
- Wed Jul 26, 2006 1:30 pm
- Forum: C++
- Topic: Designing my own Big Integer class, need your suggestions :)
- Replies: 4
- Views: 3299
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 ...
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 ...
- Wed Jul 26, 2006 2:22 am
- Forum: C++
- Topic: Designing my own Big Integer class, need your suggestions :)
- Replies: 4
- Views: 3299
- Tue Jul 25, 2006 9:27 pm
- Forum: C++
- Topic: Designing my own Big Integer class, need your suggestions :)
- Replies: 4
- Views: 3299
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 ...
- Tue Jul 04, 2006 2:54 am
- Forum: Volume 4 (400-499)
- Topic: 494 - Kindergarten Counting Game
- Replies: 119
- Views: 37425
- Mon Jul 03, 2006 11:40 pm
- Forum: Volume 4 (400-499)
- Topic: 494 - Kindergarten Counting Game
- Replies: 119
- Views: 37425
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 ...
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 ...