| acmsguru |
|---|
| Finished |
.....— "white" cell;
XXXXX— "black" cell with no clues;
AA\BB— "black" cell with one or two clues.
AAis either a 2-digit clue for the corresponding vertical run, or
XXif there is no associated vertical run.
BBis either a 2-digit clue for the corresponding horizontal run, or
XXif there is no associated horizontal run.
' (underscore), for every "white" cell print the corresponding digit from the solution. Delimit cells with a single space, so that each row consists of 2m-1 characters. sample input | sample output |
6 6 XXXXX XXXXX 28\XX 17\XX 28\XX XXXXX XXXXX 22\22 ..... ..... ..... 10\XX XX\34 ..... ..... ..... ..... ..... XX\14 ..... ..... 16\13 ..... ..... XX\22 ..... ..... ..... ..... XXXXX XXXXX XX\16 ..... ..... XXXXX XXXXX | _ _ _ _ _ _ _ _ 5 8 9 _ _ 7 6 9 8 4 _ 6 8 _ 7 6 _ 9 2 7 4 _ _ _ 7 9 _ _ |
sample input | sample output |
3 3 XXXXX 04\XX XXXXX XX\04 ..... XXXXX XXXXX XXXXX XXXXX | _ _ _ _ 4 _ _ _ _ |
| Name |
|---|


