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 23, 2025 17:19vahookvahookScore: 3,209,580Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 17:193,089,5059,914,160,9469,835,434,00050,981,0002,273,280
2Apr 23, 2025 17:193,209,58010,301,209,02510,233,672,00036,984,0002,375,680
3Apr 23, 2025 17:193,222,48710,337,619,28410,277,976,00033,983,0002,523,136