Add solutions
This commit is contained in:
parent
7417f01d5d
commit
b056b6ad81
96 changed files with 229 additions and 166 deletions
|
|
@ -136,7 +136,7 @@ pub fn main() !void {
|
|||
;
|
||||
|
||||
// now the tokenizer, but what do we need here?
|
||||
var it = std.mem.tokenize(u8, poem, ???);
|
||||
var it = std.mem.tokenize(u8, poem, " ,;\n!");
|
||||
|
||||
// print all words and count them
|
||||
var cnt: usize = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue