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:20emily graceemily graceScore: 5,470Success
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:205,42784,018,25317,367,62802,269,184
2Apr 10, 2024 17:205,44787,116,39617,429,92202,256,896
3Apr 10, 2024 17:205,46990,070,22617,500,65402,273,280
4Apr 10, 2024 17:205,47077,893,70917,505,44102,265,088
5Apr 10, 2024 17:205,47467,073,92617,515,87602,269,184
6Apr 10, 2024 17:205,50486,375,19717,613,98302,273,280