Search found 2 matches

by kareltje333
Fri Jun 06, 2003 12:13 pm
Forum: Volume 1 (100-199)
Topic: 156 - Ananagrams
Replies: 30
Views: 3890

Prbl. 156 cant get right answer

I've written this program in C to solve problem 156. I get wrong answer with this. With the given example input i get the correct answer all the time. I have no clue whats wrong. Anybody can help? [c] #include <stdio.h> #include <ctype.h> char sorted_words[1000][20]; char original_words[1000][20]; c...
by kareltje333
Fri May 16, 2003 1:16 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 45334

101 move a onto b problem

Lets suppose i've created this situation in a matrix: 0: 0 1: 1 2 3 2: 3: 4 5 4: 5: 6: 6 7: 7 What happens if i get the command "move 1 onto 4"? After returning any blocks on 1 to their initial state, the 3 goes to row 3, the 2 to row 2. I suppose should give: 0: 0 1: 1 2: 2 3: 4 5 3 4: 5: 6: 6 7: 7...

Go to advanced search