Search found 7 matches
- Tue Feb 11, 2014 5:59 am
- Forum: Volume 113 (11300-11399)
- Topic: 11368 - Nested Dolls
- Replies: 9
- Views: 6811
Re: 11368 - Nested Dolls
I just saw that the problem is on the UVa toolkit. I will check it.
- Tue Feb 11, 2014 5:49 am
- Forum: Volume 113 (11300-11399)
- Topic: 11368 - Nested Dolls
- Replies: 9
- Views: 6811
Re: 11368 - Nested Dolls
I'm getting WA for this one.
I've tried the following cases and I get them all correct. any more cases?
1000
3
20 30 40 50 30 40
4
20 30 10 10 30 20 40 50
3
10 30 20 20 30 10
4
10 10 20 30 40 50 39 51
7
10 10 20 20 30 30 10 10 20 20 10 10 10 10
5
10 10 10 10 10 10 10 10 10 10
3
9 ...
I've tried the following cases and I get them all correct. any more cases?
1000
3
20 30 40 50 30 40
4
20 30 10 10 30 20 40 50
3
10 30 20 20 30 10
4
10 10 20 30 40 50 39 51
7
10 10 20 20 30 30 10 10 20 20 10 10 10 10
5
10 10 10 10 10 10 10 10 10 10
3
9 ...
- Mon Feb 10, 2014 7:19 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10755 - Garbage Heap
- Replies: 20
- Views: 14403
Re: 10755 - Garbage Heap
Can someone help with providing additional test cases for this problem?
I'm getting WA
For the following input
I get the following results
I'm getting WA
For the following input
Code: Select all
Sample Input
4
1 1 1
-5
2 2 2
-1 2 0 -3 -2 -1 1 5
2 3 3
21 -39 4 -39 4 -44 1 -32 -25 -35 2 17 6 10 2 -12 -22 35
1 2 2
-38 40 21 -34
Code: Select all
-5
6
54
40
- Tue Feb 04, 2014 11:11 pm
- Forum: Volume 121 (12100-12199)
- Topic: 12124 - Assemble
- Replies: 5
- Views: 5157
Re: UVA 12124
Can anyone provide more edge cases or describe some?
I created these and got them right, I think
Input
4
5 100
a x 10 6
b z 20 5
c z 30 11
a y 30 4
a r 10 3
3 100
a x 10 6
b z 20 5
c z 30 11
5 100
a x 5 4
a y 55 3
a z 35 6
a s 67 5
a r 99 7
5 100
a x 100 3
a y 50 6
b y 50 4
b z 100 5
b r 40 9 ...
I created these and got them right, I think
Input
4
5 100
a x 10 6
b z 20 5
c z 30 11
a y 30 4
a r 10 3
3 100
a x 10 6
b z 20 5
c z 30 11
5 100
a x 5 4
a y 55 3
a z 35 6
a s 67 5
a r 99 7
5 100
a x 100 3
a y 50 6
b y 50 4
b z 100 5
b r 40 9 ...
- Sun Feb 02, 2014 6:22 am
- Forum: Volume 123 (12300-12399)
- Topic: 12337 - Bob's Beautiful Balls
- Replies: 4
- Views: 1435
Re: 12337 - Bob's Beautiful Balls
Solved it finally!!
I was failing on this case!
BGWWWWWGBBBBGGG
Answer = 8
I was failing on this case!
BGWWWWWGBBBBGGG
Answer = 8
- Sun Feb 02, 2014 3:17 am
- Forum: Volume 123 (12300-12399)
- Topic: 12337 - Bob's Beautiful Balls
- Replies: 4
- Views: 1435
Re: 12337 - Bob's Beautiful Balls
I get the same answers!!!!!
Thanks though



Thanks though
- Fri Jan 31, 2014 11:41 pm
- Forum: Volume 123 (12300-12399)
- Topic: 12337 - Bob's Beautiful Balls
- Replies: 4
- Views: 1435
12337 - Bob's Beautiful Balls
I keep getting WA for this problem. I'm transforming the string into a matrix (spiral) and then comparing checking if each column has only one color.
I tried these cases myself
Sample Input
7
BGWBBGGGBBWGBBGWBB
GBBWBBWBBB
BBBBBBBBBBBBBBB ...
I tried these cases myself
Sample Input
7
BGWBBGGGBBWGBBGWBB
GBBWBBWBBB
BBBBBBBBBBBBBBB ...