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 10, 2024 04:41Drew GarciaDrew GarciaScore: 5,365Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 04:415,33338,771,58815,058,0002,007,0002,273,280
2Apr 10, 2024 04:415,33344,077,30214,055,0003,011,0002,281,472
3Apr 10, 2024 04:415,34142,697,83416,085,0001,005,0002,281,472
4Apr 10, 2024 04:415,35144,222,20715,110,0002,014,0002,281,472
5Apr 10, 2024 04:415,35439,931,14517,132,00002,273,280
6Apr 10, 2024 04:415,36440,038,38215,146,0002,019,0002,379,776
7Apr 10, 2024 04:415,36544,619,21114,139,0003,029,0002,281,472
8Apr 10, 2024 04:415,37238,248,87215,168,0002,022,0002,277,376
9Apr 10, 2024 04:415,38238,503,00615,196,0002,026,0002,273,280
10Apr 10, 2024 04:415,57486,924,81417,836,09302,301,952
11Apr 10, 2024 04:415,59089,717,67617,887,17302,297,856
12Apr 10, 2024 04:415,63283,350,83418,021,42702,301,952