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 listOct 28, 2024 19:26RileyRileyScore: 930,076Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 28, 2024 19:26930,0713,007,985,1312,946,234,00029,992,0002,269,184
2Oct 28, 2024 19:26930,0763,006,187,3102,946,261,00029,982,0002,281,472
3Oct 28, 2024 19:26930,1423,003,856,0642,946,469,00029,984,0002,281,472