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 20, 2024 11:16Matt StuchlikMatt StuchlikScore: 364,455Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2024 11:16363,7281,229,105,3811,163,928,78802,236,416
2Aug 20, 2024 11:16363,8211,219,453,8621,164,226,75702,371,584
3Aug 20, 2024 11:16364,3501,223,867,1301,165,920,30602,240,512
4Aug 20, 2024 11:16364,4551,223,036,8291,166,254,62602,371,584
5Aug 20, 2024 11:16364,4861,232,869,2511,166,354,67802,236,416
6Aug 20, 2024 11:16364,8811,234,386,9531,167,620,18802,244,608