Page 1 of 1

491 - Tile Topology

Posted: Sun Jan 30, 2005 6:59 am
by Antonio Ocampo
Hi, please could someone give me a hint?? I haven't realized which is the pattern :oops:

Thanks in advance :wink:

Posted: Tue May 10, 2005 10:28 pm
by Abednego
I don't think there is any known formula for this sequence. You have to either do brute force or cheat and look on Mathworld or the EIS. :-)

Could anyone please tell me what the input format is? Is there just one number? Are there many numbers? What are these numbers separated by?

Also, could anyone say what the answer to the input 10 is? I think it should be 9189, but I'm getting WA.

Thanks.

Posted: Wed May 11, 2005 1:43 am
by stubbscroll
I don't know what the input format is exactly, but scanf("%d",&n) until EOF works. There are >1 numbers. 9189 is the correct answer for input 10. Maybe your solution misses some corner cases, like 0? (I haven't checked if such input exists, though.)

Posted: Wed May 11, 2005 2:29 am
by Abednego
Thank you. I got it accepted after guessing that the answer for the case 0 is 0, not 1.

Posted: Sun Sep 11, 2005 11:14 pm
by plankton
Do you know what the input size is??

Posted: Mon Sep 12, 2005 12:05 am
by Abednego
There are no inputs larger than 25.

Posted: Mon Sep 12, 2005 12:27 am
by mf
All inputs are at most 15.

491 Tile Topology

Posted: Sun Jan 29, 2006 5:52 am
by IRA
How to think about the problem?
Does it have any formula about the problem?
Please give me some hint....
Thanks in advance!

Posted: Sun Jan 29, 2006 12:38 pm
by Wei-Ming Chen
I think it a math problem.
And if you want to solve it, you might use DP
Or there are some strange solutions can solve it, like 10918.
I also haven't found out how to solve it.

Posted: Sun Jan 29, 2006 5:25 pm
by IRA
Wei-Ming Chen wrote:I think it a math problem.
And if you want to solve it, you might use DP
Or there are some strange solutions can solve it, like 10918.
I also haven't found out how to solve it.
I solve 10918 to see the page as follow.
http://www.algorithmist.com/index.php/UVa_10918
You can read the page and find the formula.

....

Posted: Mon Jun 12, 2006 11:43 am
by Solmon K.
I used brute force and got AC.

See this site:

http://mathworld.wolfram.com/Polyomino.html

Re: 491 Tile Topology

Posted: Fri Apr 24, 2009 11:33 pm
by yiuyuho
Is there an efficient way to brute force this?