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 9, 2024 17:20Casper BelierCasper BelierScore: 5,812Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 9, 2024 17:205,71087,647,36418,272,84302,297,856
2Aug 9, 2024 17:205,74787,904,46118,388,88702,293,760
3Aug 9, 2024 17:205,77440,092,57017,450,0001,026,0002,289,664
4Aug 9, 2024 17:205,78039,568,11817,469,0001,027,0002,273,280
5Aug 9, 2024 17:205,78184,504,29718,500,28802,281,472
6Aug 9, 2024 17:205,78839,282,57418,522,00002,285,568
7Aug 9, 2024 17:205,81235,834,21718,598,00002,289,664
8Aug 9, 2024 17:205,81748,859,41517,580,0001,034,0002,277,376
9Aug 9, 2024 17:205,82444,056,64217,603,0001,035,0002,523,136
10Aug 9, 2024 17:205,82836,398,70217,614,0001,036,0002,281,472
11Aug 9, 2024 17:205,83344,707,06418,664,00002,273,280
12Aug 9, 2024 17:205,83546,427,76517,636,0001,037,0002,527,232