Search found 6 matches

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

Re: 11220 - Decoding the message.

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

Re: 11716 - Digital Fortress

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

11716 - Digital Fortress

I keep getting WA.

REMOVED after AC

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

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!
by mjimaz
Sun Feb 02, 2014 3:58 am
Forum: Volume 123 (12300-12399)
Topic: 12337 - Bob's Beautiful Balls
Replies: 4
Views: 563

Re: 12337 - Bob's Beautiful Balls

Try this:

Input:

1
GGGGGGGGGGGGGGGGGGGGGGGG

Output:

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

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...

Go to advanced search