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 listDec 14, 2024 13:17MatthiasMatthiasScore: 25,548Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 14, 2024 13:1725,462119,834,66076,509,0004,968,0002,519,040
2Dec 14, 2024 13:1725,548126,470,10077,767,0003,988,0002,519,040
3Dec 14, 2024 13:1725,552125,045,04377,777,0003,988,0002,527,232