Adding the challenge 0201

This commit is contained in:
2026-07-25 21:36:07 +02:00
parent 9c71ad1c8f
commit 19f6f8d323
8 changed files with 387 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
package db0201
type CellType uint8
const (
TypeI64 CellType = 1
TypeStr CellType = 2
)
type Cell struct {
Type CellType
I64 int64
Str []byte
}
func (cell *Cell) Encode(toAppend []byte) []byte
func (cell *Cell) Decode(data []byte) (rest []byte, err error)
// QzBQWVJJOUhU https://trialofcode.org/