Search found 4 matches

by jishnu1
Wed Jul 09, 2014 9:20 pm
Forum: Volume 100 (10000-10099)
Topic: 10074 - Take the Land
Replies: 21
Views: 7858

Re: uva 10074: Take the Land WA

@brianfry713
Thankx, I finally got Accepted :D , but i did not quite understand the logic behind this :-? , in a conditional statement like if isnt it true that u can put the assignment operations on one line if possible ?

if this is not the case isn't the judge supposed to report compilation error ...
by jishnu1
Sat Jun 28, 2014 9:23 pm
Forum: Volume 100 (10000-10099)
Topic: 10074 - Take the Land
Replies: 21
Views: 7858

Re: uva 10074: Take the Land WA

@aybek
Sorry for the late reply.

I have tried printing that way too but i still receive a WA. I have updated the code. It compiles without errors (g++ compiler) and runs well on several test cases i provide on my computer. So if there are any errors pls be kind and notify them.
Thankx
by jishnu1
Wed Jun 25, 2014 2:15 am
Forum: Volume 100 (10000-10099)
Topic: 10074 - Take the Land
Replies: 21
Views: 7858

Re: uva 10074: Take the Land WA

I have tried printing that way too but i still get a WA :(
by jishnu1
Sat Jun 21, 2014 9:38 pm
Forum: Volume 100 (10000-10099)
Topic: 10074 - Take the Land
Replies: 21
Views: 7858

uva 10074: Take the Land WA

I have tried many test cases they all seem to come up with the right answer but when i submit to the judge i get a WA

The idea is this: I have maintained two matrices A and B one for the number of zeroes and other for the number of ones.
i.e A [j] gives the number of zeores in the sub matrix from ...

Go to advanced search