11860 - Document Analyzer

All about problems in Volume 118. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

uDebug
A great helper
Posts: 475
Joined: Tue Jul 24, 2012 4:23 pm

Re: 11860-Document Analyzer

Post by uDebug »

Here's some input / output I found useful during testing / debugging.

Input:

Code: Select all

9
1. a case is a case, 
2. case is not a case~
END
a b c d e
END
a@#$a^%a a a''''''''
b b----b b++12b\\\\\\\
END
a case is a case is a case is
END
a b a b a b a b a b
END
a a a a a a a a a
END
g
END
a b a g a d a l
END
a!@%$&*() b :<>"c a b\\\]]=+ c a b c a b c
END
AC Output:

Code: Select all

Document 1: 6 9
Document 2: 1 5
Document 3: 5 6
Document 4: 1 3
Document 5: 1 2
Document 6: 1 1
Document 7: 1 1
Document 8: 2 8
Document 9: 1 3
Check input and AC output for over 7,500 problems on uDebug!

Find us on Facebook. Follow us on Twitter.
Post Reply

Return to “Volume 118 (11800-11899)”