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 24, 2025 17:51lukostlukostScore: 10,500Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 17:5110,27855,628,2369,250,00023,639,0002,285,568
2Apr 24, 2025 17:5110,34261,014,9674,011,00029,083,0002,285,568
3Apr 24, 2025 17:5110,36154,954,9736,028,00027,127,0002,285,568
4Apr 24, 2025 17:5110,44356,765,6758,101,00025,317,0002,285,568
5Apr 24, 2025 17:5110,50062,459,5647,127,00026,472,0002,416,640
6Apr 24, 2025 17:5110,50563,377,4032,037,00031,579,0002,285,568
7Apr 24, 2025 17:5110,57756,310,8204,977,00028,869,0002,260,992
8Apr 24, 2025 17:5110,75858,430,8634,050,00030,376,0002,412,544
9Apr 24, 2025 17:5110,81762,622,5977,126,00027,489,0002,277,376