Search found 5 matches

by tsengct
Sun Nov 25, 2007 8:11 am
Forum: Volume 6 (600-699)
Topic: 671 - Spell checker
Replies: 27
Views: 10013

I can't figure out why I keep getting TLE

I calculates the edit distance of the query string with every word in the dictionary. Is this method too slow in this problem?

Or can any one give me some special input which will make my program unable to break from the two infinite loop?

Code: Select all

deleted
by tsengct
Wed Sep 12, 2007 9:45 am
Forum: Volume 3 (300-399)
Topic: 390 - Letter Sequence Analysis
Replies: 4
Views: 3199

What is the output for the input "A" is it Analysis for Letter Sequences of Length 1 ----------------------------------------- Frequency = 1, Sequence(s) = (A) Analysis for Letter Sequences of Length 2 ----------------------------------------- Analysis for Letter Sequences of Length 3 --------------...
by tsengct
Tue Sep 04, 2007 9:12 am
Forum: Volume 6 (600-699)
Topic: 643 - Bulk Mailing
Replies: 5
Views: 3458

Finally got AC. Just discard the confusing statements about the output format in the problem statement. Follow the sample output format. 1. There's no blank line between "INVALID ZIP CODES" and the first invalid zip code. 2. The numbers of valid zip codes are not single spaced, but aligned by the la...
by tsengct
Wed Aug 29, 2007 4:33 am
Forum: Volume 4 (400-499)
Topic: 430 - Swamp County Supervisors
Replies: 8
Views: 3127

Does the input of problem 430 contain numbers that are larger than 2^32?
by tsengct
Wed Aug 29, 2007 4:31 am
Forum: Volume 6 (600-699)
Topic: 643 - Bulk Mailing
Replies: 5
Views: 3458

The sample input of problem 643 on the web page has trailing spaces. But from the sample output the spaces seems should be ignored. Is it right that I can/need to remove all the spaces? If not so, how do I deal with the following inputs? (underline means space) 12345___ 12345__ 12_345 The secind pro...

Go to advanced search