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 listApr 18, 2024 14:20Robert 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
1Apr 18, 2024 14:2500000Error: expected "976686 ", got "976687 "stderr
2Apr 18, 2024 14:254,74367,565,49615,177,05102,211,840
3Apr 18, 2024 14:204,75161,267,18715,201,81002,334,720
4Apr 18, 2024 14:204,76985,450,23415,261,51802,199,552
5Apr 18, 2024 14:254,76998,761,10915,259,99502,199,552
6Apr 18, 2024 14:254,78389,356,96915,305,19702,203,648
7Apr 18, 2024 14:204,80191,272,45215,362,58902,199,552