4 ms·
Sorry, but your wc implementation does nothing to detect words, it just counts the spaces. Of course you don't need a state machine for that!
by teo_zero 2y ago
Sorry, but your wc implementation does nothing to detect words, it just counts the spaces. Of course you don't need a state machine for that!