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 3, 2024 03:29zielajzielajScore: 5,139Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 03:365,12178,150,24216,385,92802,297,856
2Aug 3, 2024 03:295,13492,188,79916,427,96602,314,240
3Aug 3, 2024 03:365,13894,808,92716,440,30802,306,048
4Aug 3, 2024 03:295,13980,940,90616,444,67802,301,952
5Aug 3, 2024 03:365,14578,426,78016,462,49202,293,760
6Aug 3, 2024 03:295,16390,763,93816,522,40902,314,240