Cleanup
This commit is contained in:
parent
74c102f2a0
commit
433a4414b6
@ -89,19 +89,3 @@ func (s *Seq) isStable() bool {
|
|||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s Seq) String() string {
|
|
||||||
return fmt.Sprintf("MINE: Row %d Result: %d + %d = %d\n",
|
|
||||||
s.row,
|
|
||||||
s.history[0][len(s.history[0])-2],
|
|
||||||
s.history[1][len(s.history[1])-1],
|
|
||||||
s.history[0][len(s.history[0])-1])
|
|
||||||
}
|
|
||||||
|
|
||||||
func (s Seq) Detail() string {
|
|
||||||
var res string
|
|
||||||
for i := range s.history {
|
|
||||||
res = fmt.Sprintf("%s%v\n", res, s.history[i])
|
|
||||||
}
|
|
||||||
return res
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user