11263 - Nested Rectangles

All about problems in Volume 112. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
goodwill
New poster
Posts: 25
Joined: Mon Sep 03, 2007 10:54 am

11263 - Nested Rectangles

Post by goodwill »

Could someone check this input? I got many WAs

Code: Select all

2
11 11 5
9 7 5 3 1 
9 7 5 3 1 
-8 -2 -4 10 4 -1 
0 0 2 0 1 2 1 0 2 2 0 
1 0 1 -1 -1 2 1 -1 0 -2 2 
2 -2 -2 1 1 1 -1 -1 -2 1 0 
-1 -1 1 1 1 1 -2 1 -2 1 0 
0 0 -2 0 -1 1 -2 2 -1 -1 -1 
2 0 0 0 1 0 0 -2 -1 1 2 
0 -2 -2 -2 0 -1 -2 -1 1 -1 -2 
-1 1 1 2 1 0 0 -2 2 1 -2 
-2 -1 -2 -1 2 -2 0 0 -1 -1 -2 
-2 -2 -1 1 -2 0 1 -1 2 1 -2 
0 1 2 -1 0 -2 0 1 -1 -1 1
11 11 5
9 7 5 3 1 
9 7 5 3 1 
-6 -8 6 -5 -10 -6 
0 -1 -1 0 -2 -1 -1 2 -2 -2 0 
1 2 0 2 0 -1 0 1 0 0 2 
-1 -1 -2 -2 1 -2 2 2 1 2 -1 
-1 2 -2 -2 0 0 0 -1 2 0 0 
2 -1 -1 2 0 2 -2 -2 -2 1 2 
-2 -1 -2 1 -2 1 0 -2 0 0 -1 
-1 2 1 -2 -1 1 2 -1 0 0 2 
1 0 2 -1 0 -2 -1 0 1 2 0 
1 0 0 2 1 1 1 -1 -2 0 2 
-2 1 1 1 2 2 2 0 -1 1 1 
-1 2 -2 0 -2 1 -2 0 1 1 0  

Code: Select all

My output:
210
201
rio
A great helper
Posts: 385
Joined: Thu Sep 21, 2006 5:01 pm
Location: Kyoto, Japan

Post by rio »

I got the same output. Anyway, I'm still fighting against TLE ..

----
Rio
sunny
Experienced poster
Posts: 124
Joined: Sun Sep 11, 2005 10:22 pm
Location: Civil-BUET

Post by sunny »

my WA program's output is same too.

The time limit for this problem is very tight. After fighting against many TLE's , I finally got WA in 9.*** secs.
rio
A great helper
Posts: 385
Joined: Thu Sep 21, 2006 5:01 pm
Location: Kyoto, Japan

Post by rio »

Here's some big IO test. I tested with few versions of my code, so I think its correct.

in:
http://sugar310.dip.jp/cgi/upload/source/up7840.txt
out:

Code: Select all

38951
155930
39660
223298
259194
563086
I think i could get AC after study of 2-dimensional RMQ.
----
Rio
satej
New poster
Posts: 4
Joined: Sun Oct 26, 2003 5:29 am
Location: Dhaka,Bangladesh
Contact:

Post by satej »

The output file is currently wrong. I am getting ac with my buggy code while my correct solution is giving wa. We sent a wrong version of the data file. But during the contest we corrected the output file. But in online judge it has not been corrected yet.
satej
New poster
Posts: 4
Joined: Sun Oct 26, 2003 5:29 am
Location: Dhaka,Bangladesh
Contact:

Post by satej »

Sorry for everyone who are in trouble after getting wa with their correct code.
goodwill
New poster
Posts: 25
Joined: Mon Sep 03, 2007 10:54 am

Post by goodwill »

I got the same output as Rio
@satej : When will it be fixed?
satej
New poster
Posts: 4
Joined: Sun Oct 26, 2003 5:29 am
Location: Dhaka,Bangladesh
Contact:

Post by satej »

@goodwill I sent an e-mail to Miguel yesterday. I think they will fix it as soon as they can.
Monsoon
Learning poster
Posts: 66
Joined: Fri Jul 23, 2004 4:42 pm
Location: Poland

Post by Monsoon »

satej wrote:@goodwill I sent an e-mail to Miguel yesterday. I think they will fix it as soon as they can.
at new server i've still wa, it's becouse the tests aren't fixed yet or shall i look for bug in my code?
rio
A great helper
Posts: 385
Joined: Thu Sep 21, 2006 5:01 pm
Location: Kyoto, Japan

Post by rio »

I still get WA too (for all of my versions of code), so I think its not fixed yet.

----
Rio
baodog
Experienced poster
Posts: 202
Joined: Wed Jul 04, 2007 6:53 am

Post by baodog »

The I/O still seems to be the wrong one.
They are really behind in terms of fixing data sets.
Possibly getting the new server stable and getting all the
stats up is eating up most of their time.
Post Reply

Return to “Volume 112 (11200-11299)”