Mercurial > hg > CbC > old > DPP
comparison main.cbc @ 6:4a68716b7488
Fix tableau
author | Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 25 Dec 2015 18:19:55 +0900 |
parents | b7d63c5499e7 |
children | 35d0358b3fe6 |
comparison
equal
deleted
inserted
replaced
5:a04eccfc69ae | 6:4a68716b7488 |
---|---|
37 tmp_self->id = id; | 37 tmp_self->id = id; |
38 tmp_self->right_fork = NULL; | 38 tmp_self->right_fork = NULL; |
39 tmp_self->left_fork = self->right_fork; | 39 tmp_self->left_fork = self->right_fork; |
40 tmp_self->right = NULL; | 40 tmp_self->right = NULL; |
41 tmp_self->left = self; | 41 tmp_self->left = self; |
42 tmp_self->next = thinking; | 42 tmp_self->next = Thinking; |
43 | 43 |
44 count--; | 44 count--; |
45 id++; | 45 id++; |
46 | 46 |
47 if (count == 0) { | 47 if (count == 0) { |
78 self->id = id; | 78 self->id = id; |
79 self->right_fork = NULL; | 79 self->right_fork = NULL; |
80 self->left_fork = fork; | 80 self->left_fork = fork; |
81 self->right = NULL; | 81 self->right = NULL; |
82 self->left = NULL; | 82 self->left = NULL; |
83 self->next = thinking; | 83 self->next = Thinking; |
84 | 84 |
85 count--; | 85 count--; |
86 id++; | 86 id++; |
87 | 87 |
88 goto init_fork2(self, count, id); | 88 goto init_fork2(self, count, id); |