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 listSep 25, 2025 21:44Daniel MastalerzDaniel MastalerzScore: 5,697Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 25, 2025 21:445,64840,741,94317,070,0001,004,0002,269,184
2Sep 25, 2025 21:445,67344,784,52616,137,0002,017,0002,396,160
3Sep 25, 2025 21:445,67445,947,21115,132,0003,026,0002,269,184
4Sep 25, 2025 21:445,67535,906,23517,151,0001,008,0002,400,256
5Sep 25, 2025 21:445,69735,070,66914,180,0004,051,0002,392,064
6Sep 25, 2025 21:445,69940,386,89115,198,0003,039,0002,519,040
7Sep 25, 2025 21:445,71938,513,74717,286,0001,016,0002,400,256
8Sep 25, 2025 21:445,72247,878,33417,294,0001,017,0002,408,448
9Sep 25, 2025 21:445,74143,789,67717,352,0001,020,0002,396,160