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 11, 2024 18:30MylesMylesScore: 4,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 18:304,52541,266,21514,480,00002,273,280
2Aug 11, 2024 18:304,52936,311,21813,457,0001,035,0002,281,472
3Aug 11, 2024 18:304,53036,819,90613,460,0001,035,0002,445,312
4Aug 11, 2024 18:304,53037,434,22613,462,0001,035,0002,281,472
5Aug 11, 2024 18:304,53233,019,88613,467,0001,035,0002,281,472
6Aug 11, 2024 18:304,53338,987,92913,469,0001,036,0002,281,472
7Aug 11, 2024 18:304,54030,702,72913,491,0001,037,0002,445,312
8Aug 11, 2024 18:304,54832,652,49214,554,00002,281,472
9Aug 11, 2024 18:304,55538,400,39113,536,0001,041,0002,281,472
10Aug 11, 2024 18:304,81668,082,03415,412,67402,260,992
11Aug 11, 2024 18:304,82475,905,85215,435,40102,203,648
12Aug 11, 2024 18:304,82891,215,52815,450,01502,215,936