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 listDec 11, 2024 21:56MatthiasMatthiasScore: 5,495Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 11, 2024 21:564,78932,544,99713,281,0002,043,0002,285,568
2Dec 11, 2024 21:564,81438,993,77615,406,00002,265,088
3Dec 11, 2024 21:564,81940,163,44814,393,0001,028,0002,265,088
4Dec 11, 2024 21:545,48435,099,88016,516,0001,032,0002,285,568
5Dec 11, 2024 21:545,49541,758,59016,550,0001,034,0002,285,568
6Dec 11, 2024 21:565,51246,047,67016,602,0001,037,0002,285,568
7Dec 11, 2024 21:565,53646,824,50016,674,0001,042,0002,379,776
8Dec 11, 2024 21:545,59641,956,61715,919,0001,989,0002,260,992
9Dec 11, 2024 21:565,65740,564,53616,092,0002,011,0002,392,064