t,m;f(n){return n<=2?1:f(n-1)+f(n-2);}
main(){scanf("%d",&t);while(t--)scanf("%d",&m)&&printf("%d\n",f(m+11)-f(m+1)+f(6+m)%10));}
My best attempt with the c code......132 bytes still....
Now gonna try perl....It definitely requires exceptional skills to bring it
down to 111 bytes but have this gut feeling this is not impossible....-- Saurabh Singh B.Tech (Computer Science) MNNIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
