Input:
5 5
..AAA
E.BBB
..AA.
CC.DD
CC.D.
25 33
.................................
.................................
.................................
.................................
.................................
.................................
....AAAAA.....AAAA.........AAAAA ...
Search found 8 matches
- Wed Mar 14, 2007 1:05 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10946 - You want what filled?
- Replies: 38
- Views: 24775
- Thu Feb 12, 2004 5:03 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10333 - The Tower of ASCII
- Replies: 8
- Views: 4210
Re: 10333 Wrong Anwers, But The Output is Correct
That is OK with the Output part of the problem, but their test output simply writes:yayas wrote:Code: Select all
printf("Tower : #%d\n",tm);
Code: Select all
Tower #n
- Wed Feb 11, 2004 1:31 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10154 - Weights and Measures
- Replies: 60
- Views: 48622
- Mon Feb 09, 2004 3:09 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10154 - Weights and Measures
- Replies: 60
- Views: 48622
- Fri Feb 06, 2004 12:49 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10154 - Weights and Measures
- Replies: 60
- Views: 48622
This is not in fact a LIS problem, but rather one that is solved with greedy algorithm. Before using LIS, I suppose that you are sorting the input, boiling down to a greedy algorithm where sorting criterion is the cost function.
I've got AC on greedy algo by maximizing "remaining strength" which is ...
I've got AC on greedy algo by maximizing "remaining strength" which is ...
- Thu Nov 27, 2003 12:41 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10083 - Division
- Replies: 12
- Views: 9103
- Wed Nov 26, 2003 7:35 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10083 - Division
- Replies: 12
- Views: 9103