Search found 12 matches

by mice123456789
Wed Mar 03, 2010 4:43 am
Forum: Volume 7 (700-799)
Topic: 782 - Contour Painting
Replies: 53
Views: 22521

Re: 782 - Countour Painting

Careful with your input/output. Doesn't seem it read all inputs :wink:
by mice123456789
Mon Mar 01, 2010 5:15 pm
Forum: Volume 7 (700-799)
Topic: 782 - Contour Painting
Replies: 53
Views: 22521

Re: 782 - Countour Painting

Code: Select all

xxxxxxxx#
xx######
xxxxxx#
___________
####
xxxx#
x###
xxx#
__________
xxxx#
x###
xxx#
###
__________
####
xxxx#
x###
xxx#
###
__________
by mice123456789
Fri Feb 26, 2010 2:54 am
Forum: Volume 7 (700-799)
Topic: 782 - Contour Painting
Replies: 53
Views: 22521

Re: 782 - Countour Painting

############## XXXXXXXXXXXXXX# XXXXXXXXXXXX## XX########## XXXXXXXXXXXX# ############ _________________ ############ XXXXXXXXXXXX# XXXXXXXXXX## XX############ XXXXXXXXXXXXXX# __________________ # X# XX# XXX# XX# X# __________________ xxxxxxxx ####x xxxxxxx _________________ x##x x##x x##x xxxx ____...
by mice123456789
Tue Sep 15, 2009 10:33 am
Forum: Volume 7 (700-799)
Topic: 782 - Contour Painting
Replies: 53
Views: 22521

Re: 782 - Countour Painting

Accepted. Just need to print new line at the end of output and remove trailing spaces :wink:
by mice123456789
Thu Sep 10, 2009 6:51 pm
Forum: Volume 7 (700-799)
Topic: 782 - Contour Painting
Replies: 53
Views: 22521

782 - Countour Painting

Hi, Can someone help me by giving valid output for the input below? BTW, should we remove trailing spaces? Thanks in advance :) 11 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX* XXXXXXXX...
by mice123456789
Tue Sep 08, 2009 7:50 pm
Forum: Volume 5 (500-599)
Topic: 538 - Balancing Bank Accounts
Replies: 18
Views: 8378

Re: 538 - Balancing Bank Accounts

Someone, please validate my output. Keep WA :(
Thanks in advance.

Code: Select all

Case #1
Dagobert Donald 15

Case #2
Cindy John 10
Mary John 140
Arnold John 150

Case #3

Case #4
C A 10
E A 15
B A 40
B D 15

by mice123456789
Tue Sep 08, 2009 6:19 pm
Forum: Volume 5 (500-599)
Topic: 514 - Rails
Replies: 79
Views: 25449

2nd Sample Input

Can someone help me by giving explanation how '5 4 1 2 3' is No. Thanks. :-?
by mice123456789
Thu Feb 26, 2009 5:23 pm
Forum: Volume 115 (11500-11599)
Topic: 11584 - Partitioning by Palindromes
Replies: 14
Views: 3874

Re: 11584 - Partitioning by Palindromes

Thanks, Igor. This problem is not easy as I thought. Can you clarify the group no below? amadam = 2: {a}, {madam} madama = 2: {madam}, {a} zzxzcc = 3: {z}, {zxz}, {cc} qwerty = 6: {q}, {w}, {e}, {r}, {t}, {y} zzxxxz = 2: {z}, {zxxxz} zxxxzz = 2: {zxxxz}, {z} zxzczxxzc = 2: {zxz}, {czxxzc} Seemed lik...
by mice123456789
Tue Feb 24, 2009 10:00 pm
Forum: Volume 115 (11500-11599)
Topic: 11584 - Partitioning by Palindromes
Replies: 14
Views: 3874

Re: 11584 - Partitioning by Palindromes

Hi Igor, I dont know complex algo for this problem, just used the simple one. But still get WA. Is there any special case that i do not handle? Thanks. #include <stdio.h> #include <string.h> int ispalindrom(char *s, int index, int size) { int i; for (i = 0; i < (size / 2); i++) { if (s[index + i] !=...
by mice123456789
Sun Feb 22, 2009 12:03 pm
Forum: Volume 115 (11500-11599)
Topic: 11584 - Partitioning by Palindromes
Replies: 14
Views: 3874

Re: 11584 - Partitioning by Palindromes

Is it possible to solve this problem with no DP? Sample input/output please. Thanks in advance :-?
by mice123456789
Mon Feb 09, 2009 11:33 am
Forum: Volume 3 (300-399)
Topic: 399 - Another Puzzling Problem
Replies: 1
Views: 1986

399 - Another Puzzling Problem

Can someone give me sample input/output with dimensions >= 3 ? Thanks :-?
by mice123456789
Sat Jul 26, 2008 6:30 pm
Forum: Volume 3 (300-399)
Topic: 381 - Making the Grade
Replies: 9
Views: 1943

Re: 381 Making the Grade

Can someone give me sample input/output for this problem? Thanks in advance :wink:

Go to advanced search