Thanks for all your help.
I used an iterative method to fill rectangles and didn't notice the situations when x>m or y>n. After fixed the little bug, I got AC.
The input seems to be regular, not too tricky, I think. When you are crazy about your countless WA's, just pay attention to the fill part.
Search found 4 matches
Search found 4 matches • Page 1 of 1
- Sat Nov 26, 2005 8:12 am
- Forum: Volume 101 (10100-10199)
- Topic: 10137 - The Trip
- Replies: 159
- Views: 47202
Thanks. I just made a mistake with the calculation of average. With your help, I got AC. Actually I find my fault with the programming-challenges judge than with this judge. I had failed attempts with LC-Display(110104/706) and WERTYU(110301/10082) in which both got P.E. and W.A. respectively in pro...
- Tue May 10, 2005 2:26 pm
- Forum: Volume 5 (500-599)
- Topic: 526 - String Distance and Transform Process
- Replies: 34
- Views: 15944
I passed 164 but failed at this problem. I generated some test data, followed by output. The output was checked by a program(by me), which is performing these operations on the input string and sees if the result is expected. I've no idea what's wrong with the program. Any suggestions would help! sf...
- Mon May 09, 2005 4:29 am
- Forum: Volume 104 (10400-10499)
- Topic: 10450 - World Cup Noise
- Replies: 42
- Views: 20338
I tried to solve this problem using the long long type but failed. Well, when I shifted long long type to double type, I got it accepted. I'm wondering, why long long type gives out the incorrect answers?