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 listAug 13, 2024 13:59zielajzielajScore: 373,696Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2024 13:59372,9131,247,545,7411,193,320,98402,199,552
2Aug 13, 2024 13:59373,6961,257,526,8861,195,828,78202,195,456
3Aug 13, 2024 13:59373,8141,256,904,1411,196,204,31502,334,720