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 listApr 15, 2024 04:37Steve BronderSteve BronderScore: 5,331Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 15, 2024 04:375,28342,317,23214,916,0001,988,0002,289,664
2Apr 15, 2024 04:375,29641,477,42314,954,0001,993,0002,289,664
3Apr 15, 2024 04:375,30338,938,17314,973,0001,996,0002,289,664
4Apr 15, 2024 04:375,30439,747,15714,977,0001,996,0002,289,664
5Apr 15, 2024 04:375,30445,259,64315,976,000998,0002,289,664
6Apr 15, 2024 04:375,31837,505,03915,016,0002,002,0002,379,776
7Apr 15, 2024 04:375,33138,963,23815,053,0002,007,0002,289,664
8Apr 15, 2024 04:375,33234,411,52215,056,0002,007,0002,269,184
9Apr 15, 2024 04:375,33545,423,83215,064,0002,008,0002,383,872
10Apr 15, 2024 04:375,54579,911,57217,744,55302,293,760
11Apr 15, 2024 04:375,54670,001,93517,746,15602,285,568
12Apr 15, 2024 04:375,57462,207,70317,837,73002,289,664