If there are 25143 words in the dictionary all of length 16, how much time is spent in your Difference function?
You should compute the dictionary graph before reading the input pairs.
10150 - Doublets
Moderator: Board moderators
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: 10150 - Doublets
Check input and AC output for thousands of problems on uDebug!
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: 10150 - Doublets
Code: Select all
aa
ab
ac
bb
ac bb
Code: Select all
ac
ab
bb
Check input and AC output for thousands of problems on uDebug!