Actually it does. Maybe you missed it because it is stated at the last paragraph:
"If more than one order of brown, green, and clear bins yields the minimum number of movements then the alphabetically first string representing a minimal configuration should be printed."
I'm glad it helped
Search found 93 matches
- Thu Aug 12, 2004 6:27 am
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 71463
- Wed Aug 11, 2004 11:41 am
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 71463
- Mon Aug 09, 2004 2:17 pm
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 71463
I used my AC-ed source code to test data I generated randomly and I some differences. Looks like your answer is not minimal enough. I hope it helps. Input : 12848 19770 21137 28663 9067 27681 19994 1430 19738 21409 10918 28079 27748 18094 18605 25346 31081 14515 11339 25614 8929 29300 17281 1993 146...
- Sat Aug 07, 2004 10:53 am
- Forum: Volume 1 (100-199)
- Topic: 158 - Calendar
- Replies: 44
- Views: 8783
158 WA
I've passed all input from previous threads, so I'm wondering if anyone could help me ? thanks
- Sat Aug 07, 2004 10:46 am
- Forum: Volume 1 (100-199)
- Topic: 154 - Recycling
- Replies: 29
- Views: 3866
hehehe .. I'm sorry for my laziness, but actually my point is having : r/P,o/G,y/S,g/A,b/N is the same as having : o/G,r/P,g/A,y/S,b/N As you can see above, the important thing is the couple x/y , where x is color of the bin, and y is type of the waste, thus, the position itself in the line doesn't ...
- Sat Aug 07, 2004 6:22 am
- Forum: Volume 1 (100-199)
- Topic: 154 - Recycling
- Replies: 29
- Views: 3866
- Wed Aug 04, 2004 11:50 am
- Forum: Volume 1 (100-199)
- Topic: 154 - Recycling
- Replies: 29
- Views: 3866
- Mon Aug 02, 2004 1:01 pm
- Forum: Volume 1 (100-199)
- Topic: 154 - Recycling
- Replies: 29
- Views: 3866
- Mon May 10, 2004 10:47 am
- Forum: Volume 1 (100-199)
- Topic: 139 - Telephone Tangles
- Replies: 66
- Views: 9686
- Tue Apr 27, 2004 7:50 am
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 71463
- Fri Mar 12, 2004 8:41 am
- Forum: Volume 1 (100-199)
- Topic: 161 - Traffic Lights
- Replies: 28
- Views: 4804
- Tue Mar 09, 2004 8:13 am
- Forum: Volume 1 (100-199)
- Topic: 191 - Intersection
- Replies: 103
- Views: 21040
- Fri Feb 27, 2004 5:47 am
- Forum: Volume 1 (100-199)
- Topic: 148 - Anagram checker
- Replies: 31
- Views: 4801
Yes, please. I have several question : 1. Does a word in the dictionary can be used more than once to form an anagram ? e.g. : dictionary : A input : AA output : A A <-- is it possible ? 2. Is it possible to have 2 identic words in a dictionary ? e.g. : dictionary : A A BBB input : AA output : ???? ...
- Fri Jan 23, 2004 12:09 pm
- Forum: Volume 1 (100-199)
- Topic: 148 - Anagram checker
- Replies: 31
- Views: 4801
148 - Anagram Checker
I got WA ... please help ...
any special case ?
Anybody can give me more sample input ?
thanks in advanced ...
any special case ?
Anybody can give me more sample input ?
thanks in advanced ...
- Wed Jan 21, 2004 6:13 am
- Forum: Volume 1 (100-199)
- Topic: 131 - The Psychic Poker Player
- Replies: 34
- Views: 6209
For your convenience, I just paste my output here: Hand: TH KD AH JH QH Deck: 9H 8H 6C TC QC Best hand: straight-flush Hand: JS 7D 9S AS 7C Deck: TS 8S QS 2S 4D Best hand: straight-flush Hand: 2S 6S 3S AC 6H Deck: 5S 4S QS 7C TS Best hand: straight-flush Hand: 9C KH 6C JH 3C Deck: 2C 5C 4C AC 6D Bes...