Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJul 22, 2022 20:30Robert BurkeRobert BurkeError
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 20:3000000Error: expected "975110 ", got "975112 "stderr
2Jul 22, 2022 20:3300000Error: expected "975918 ", got "975919 "stderr
3Jul 22, 2022 20:355,12197,905,01816,386,48502,183,168
4Jul 22, 2022 20:355,12978,845,69216,414,34502,183,168
5Jul 22, 2022 20:355,40054,076,61217,279,22002,174,976