Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 CCC Senior Filename
Index -> Contests
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
crossley7




PostPosted: Mon Feb 27, 2012 9:14 pm   Post subject: RE:CCC Senior Filename

Oh wow, didn't notice that they weren't any ambiguity types of cases where you could have 11 and 110 for example as 2 of the letters. So in that case, it is just repeatedly checking against the keys to see if it matches the prefix like you said.
Sponsor
Sponsor
Sponsor
sponsor
ProgrammingFun




PostPosted: Mon Feb 27, 2012 9:36 pm   Post subject: Re: RE:CCC Senior Filename

crossley7 @ Mon Feb 27, 2012 9:14 pm wrote:
Oh wow, didn't notice that they weren't any ambiguity types of cases where you could have 11 and 110 for example as 2 of the letters. So in that case, it is just repeatedly checking against the keys to see if it matches the prefix like you said.

As far as I understand, you can't have such a case because the test is prefix-free.
Display posts from previous:   
   Index -> Contests
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 17 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: