Page 1 of 1

11660 - Look-and-Say sequences

Posted: Mon Sep 07, 2009 11:32 pm
by tryit1
AC input output

Code: Select all

1 3 1
1 3 2
1 7 2
123 3 1
22 30 2
123 43 3
100 343 7
999 999 999
1000 1000 500
324 343 233
0 0 0

Code: Select all

2
1
3
3
2
2
2
1
1
1

Re: 11660

Posted: Wed Aug 17, 2011 5:47 pm
by plamplam
Thanks a lot for the input. I finally figured it out...smart way to solve this problem. You input really helped. thanks again :)