Search found 74 matches

by w k
Tue Feb 26, 2008 12:33 am
Forum: Volume 114 (11400-11499)
Topic: 11404 - Palindromic Subsequence
Replies: 25
Views: 13557

OK. I got it.

Wojciech
by w k
Mon Feb 25, 2008 11:26 pm
Forum: Volume 114 (11400-11499)
Topic: 11404 - Palindromic Subsequence
Replies: 25
Views: 13557

I'm getting WA using DP method. Are there any special inputs for this problem?

Wojciech
by w k
Mon May 07, 2007 8:40 pm
Forum: Algorithms
Topic: assignment problem, kuhn-munkres algo(Hungarian method)
Replies: 2
Views: 3102

I've the same problem. Could Anybody explain how to
find minimum number of lines, which cover all zeros in matrix ?

Wojciech
by w k
Sun Aug 20, 2006 1:34 pm
Forum: Volume 110 (11000-11099)
Topic: 11056 - Formula 1
Replies: 34
Views: 16211

Another question to case insensitive comparison. What is the correct output for:

2
a1 : 1 min 1 sec 1 ms
aa : 1 min 1 sec 1 ms

Is it:

Row1
a1
aa

?

Wojciech
by w k
Wed Aug 16, 2006 8:31 pm
Forum: Volume 110 (11000-11099)
Topic: 11059 - Maximum Product
Replies: 96
Views: 36350

Who knows :-?
by w k
Thu Aug 10, 2006 2:39 pm
Forum: Volume 110 (11000-11099)
Topic: 11059 - Maximum Product
Replies: 96
Views: 36350

Try
Code:
2
-1 1


The output should be 1.
I've doubts whether this is correct. In accordance to the problem wording we've to find the maximum positive product. In the quoted case the only product we can obtain is -1 so the correct output should be 0!

Wojciech
by w k
Sat Jul 08, 2006 1:28 pm
Forum: Volume 109 (10900-10999)
Topic: 10902 - Pick-up Sticks
Replies: 24
Views: 13018

I use C++. If there are no critical inputs it must be a simple mistake in the code. I'll look into. Thanks

Wojciech
by w k
Fri Jul 07, 2006 11:17 pm
Forum: Volume 109 (10900-10999)
Topic: 10902 - Pick-up Sticks
Replies: 24
Views: 13018

I'd do it but I've no idea what the critical inputs could be. :-?
Wojciech
by w k
Fri Jul 07, 2006 10:13 pm
Forum: Volume 109 (10900-10999)
Topic: 10902 - Pick-up Sticks
Replies: 24
Views: 13018

I'm getting WA. :(
What is correct output for:
4
0 0 0 1
0 1 1 1
1 1 1 0
1 0 0 0

my output is:

Top sticks: 4.

Is it correct? Any other I/O's?
by w k
Tue Dec 13, 2005 12:18 am
Forum: Other words
Topic: Submision confirmation
Replies: 5
Views: 2108

Submision confirmation

For last submissions I haven't got any submission confirmation by e-mail. Is it any problem with online judge or this is intended change by site admin? I'd appreciate to obtain the submission confirmation by e-mail as it was before.

Wojciech
by w k
Mon Nov 21, 2005 9:30 pm
Forum: Volume 109 (10900-10999)
Topic: 10965 - Khepel's Problem
Replies: 18
Views: 5247

Hi tan_Yui!

I had a problem with inputs like this:
1 10 1
1 1 1 3 E
1 8
10 1 1
10 1 1 3 S
5 12
0 0 0
The correct output is:
6
6

Now I got AC :lol:

Thanks to Moha and tan_Yui!

Wojciech
by w k
Mon Nov 21, 2005 8:13 pm
Forum: Volume 109 (10900-10999)
Topic: 10965 - Khepel's Problem
Replies: 18
Views: 5247

My program gives the same output as yours but I got WA too. I've no idea what could be the problem now.

Wojciech
by w k
Sun Nov 20, 2005 3:59 pm
Forum: Volume 109 (10900-10999)
Topic: 10965 - Khepel's Problem
Replies: 18
Views: 5247

Hi tan_Tui!

For Your input my code gives:
96
99
99
93
93
99
95
9874

However I got WA too!

Wojciech
by w k
Sat Nov 19, 2005 11:22 pm
Forum: Volume 109 (10900-10999)
Topic: 10965 - Khepel's Problem
Replies: 18
Views: 5247

Hi,

Another question: Is it possible that 2 sprinklers have the same coordinates (but maybe different R and/or d)?

Wojciech
by w k
Tue Nov 15, 2005 10:09 pm
Forum: Volume 109 (10900-10999)
Topic: 10968 - KuPellaKeS
Replies: 8
Views: 4072

Hi,

I found a mistake already - I/O's not longer needed.

Regards

Wojciech

Go to advanced search