## Search found 6 matches

Sun Dec 07, 2014 4:55 pm
Forum: Volume 112 (11200-11299)
Topic: 11220 - Decoding the message.
Replies: 54
Views: 19984

### Re: 11220 - Decoding the message.

Thanks lighted.
Sun Dec 07, 2014 4:39 pm
Forum: Volume 117 (11700-11799)
Topic: 11716 - Digital Fortress
Replies: 39
Views: 10657

### Re: 11716 - Digital Fortress

Thanks lighted!
Sat Dec 06, 2014 10:27 pm
Forum: Volume 117 (11700-11799)
Topic: 11716 - Digital Fortress
Replies: 39
Views: 10657

### 11716 - Digital Fortress

I keep getting WA.

REMOVED after AC

Issue: Comparing floating point numbers!
Sat Dec 06, 2014 7:04 pm
Forum: Volume 112 (11200-11299)
Topic: 11220 - Decoding the message.
Replies: 54
Views: 19984

### 11220 - Decoding the message.

I keep getting WA and I could not find anything wrong with my code!

REMOVED after AC.

Issue: New line between cases!
Sun Feb 02, 2014 3:58 am
Forum: Volume 123 (12300-12399)
Topic: 12337 - Bob's Beautiful Balls
Replies: 4
Views: 554

### Re: 12337 - Bob's Beautiful Balls

Try this:

Input:

1
GGGGGGGGGGGGGGGGGGGGGGGG

Output:

Case 1: 10
Sun Feb 02, 2014 3:11 am
Forum: Volume 123 (12300-12399)
Topic: 12337 - Bob's Beautiful Balls
Replies: 4
Views: 554

### Re: 12337 - Bob's Beautiful Balls

Your input testcases should be 8, I'm guessing that's a typo. Try these: Input: 4 BBBB BB BGGB WWBWW Output: Case 1: 4 Case 2: -1 Case 3: 4 Case 4: -1 Keep in mind, If there is more than one N & M solution, the lowest sum is the answer. Also if N = 6 and M = 3 does give you -1, maybe N = 3 and M = 6...