I have problems with the example
abcde (length 5)
mnopqrstuvab (length 12)
Consider the string
rstuvabcde (length 10)
This string is first cousin of abcde (you have to drop 5 (rstuv) of 10 characters).
But it's first cousin of mnopqrstuvab, too. (The common part ist 'rstuvab'.)
Drop mnopq of ...
Search found 5 matches
- Tue Nov 07, 2006 9:37 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11104 - Cousins
- Replies: 17
- Views: 6966
- Thu Aug 31, 2006 2:45 pm
- Forum: Bugs and suggestions
- Topic: 10032 Tug of war
- Replies: 2
- Views: 3047
10032 Tug of war
Some time ago I submitted a solution (AC) to this problem, but when thinking about it I found a test case on that my solution failes:
1
8
120 111 111 101 20 11 11 1
Please add this and similar test cases.
PS: My algorithm first makes an initial distribution. Therefore every person is assigned to ...
1
8
120 111 111 101 20 11 11 1
Please add this and similar test cases.
PS: My algorithm first makes an initial distribution. Therefore every person is assigned to ...
- Sun Aug 06, 2006 11:12 am
- Forum: Bugs and suggestions
- Topic: Strange Compile Error
- Replies: 1
- Views: 1830
Strange Compile Error
During the last contest I submitted the code attached at the end.
The Compile Error reported to me by UVA was (in the notification email)
g++: 00003755_PC.c: No such file or directory
g++: No input files
This is not the correct error. Now, after the contest, I receive the correct one:
04799290_24 ...
The Compile Error reported to me by UVA was (in the notification email)
g++: 00003755_PC.c: No such file or directory
g++: No input files
This is not the correct error. Now, after the contest, I receive the correct one:
04799290_24 ...
- Sun Aug 06, 2006 1:04 am
- Forum: Volume 110 (11000-11099)
- Topic: 11023 - Multisets and Sequences
- Replies: 10
- Views: 4864
Wrong input
Sorry guys, everything is ok.
Had a VERY nasty & hard to find bug.
Had a VERY nasty & hard to find bug.
- Wed May 17, 2006 4:08 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11023 - Multisets and Sequences
- Replies: 10
- Views: 4864
Wrong input for 11023?
Hi,
in my opinion there are defect (or not correct specified) test cases for this probem.
I tested with my program (assert :-( ) because I got many WAs and think, that in the input there are commands "find", in which the sequence is NOT completely contained in the multiset.
Can anyone check this ...
in my opinion there are defect (or not correct specified) test cases for this probem.
I tested with my program (assert :-( ) because I got many WAs and think, that in the input there are commands "find", in which the sequence is NOT completely contained in the multiset.
Can anyone check this ...