> var key=findKey(list[0],list[1]); 

Will fail if both numbers are equal.

test case:

1
107 29 
15 15 15 15 21 49 77 143 221 323 437 667 899 1147 1517 1763 2021 2491 3127 3599 
4087 4757 5183 5767 6557 7387 8633 9797 10403 

Should give:

Case #1: ABABACCDEFGHIJKLMNOPQRSTUVWXYZ 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/5b5aa80e-5299-4f7c-9e2e-5e7bd08b5685%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to