Suffolk County Math Tournament in 3 days
Fri January 9, 2009
Fri January 9, 2009
PUMaC in 25 days
Sat January 31, 2009
Sat January 31, 2009
AMC 12A in 35 days
Tue February 10, 2009
Tue February 10, 2009
HMMT in 46 days
Sat February 21, 2009
Sat February 21, 2009
World Math Day in 57 days
Wed March 4, 2009
Wed March 4, 2009
AIME I in 83 days
Mon March 30, 2009
Mon March 30, 2009
PLUS! magazine deadline in 84 days
Tue March 31, 2009
Tue March 31, 2009
USAMO in 112 days
Tue April 28, 2009
Tue April 28, 2009
ARML in 143 days
Fri May 29, 2009
Fri May 29, 2009
21st Birthday in 614 days
Sun September 12, 2010
Sun September 12, 2010
Turning 40 in 7554 days
Wed September 12, 2029
Wed September 12, 2029

















In that loop you have made
In that loop you have made the assumptuon that $a and $b have the same number of array elements, so why not simply do:
you could even use an || in there if you want to account for arrays with a differing number of elements. I suggest this because your current approach to the problem is still kludgy when you increase the numbers of associative arrays you loop over. Consider that you handle $a in one way, and every other array in a different way. It would seem more practical to handle them all in the same way, no?
Great, that looks like a
Great, that looks like a better idea..
finally I get to see the while loop I love :)
Post new comment