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 10, 2024 16:46emily graceemily graceScore: 5,451Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 16:475,43764,575,57617,398,80002,265,088
2Apr 10, 2024 16:465,44382,114,97917,417,31702,273,280
3Apr 10, 2024 16:465,44995,128,45217,436,44702,265,088
4Apr 10, 2024 16:475,451121,269,23217,442,74202,269,184
5Apr 10, 2024 16:475,46953,128,16617,500,18302,256,896
6Apr 10, 2024 16:465,48380,019,10417,546,33902,260,992