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 4, 2025 21:36CountHarebourgCountHarebourgScore: 40,405Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2025 21:3639,531157,731,20218,071,000108,428,0002,342,912
2Apr 4, 2025 21:3640,405149,823,66818,041,000111,256,0002,351,104
3Apr 4, 2025 21:3641,004157,807,82720,032,000111,181,0002,314,240