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 17:40emily graceemily graceScore: 5,487Success
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 17:405,44061,169,23317,409,59502,260,992
2Apr 10, 2024 17:405,453103,049,37917,450,40702,265,088
3Apr 10, 2024 17:405,48056,552,22617,535,87702,265,088
4Apr 10, 2024 17:405,48790,174,91517,558,11902,256,896
5Apr 10, 2024 17:405,48783,393,11017,559,04602,269,184
6Apr 10, 2024 17:405,50690,165,06717,620,15202,256,896