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 listAug 23, 2026 15:00Andrew EpsteinAndrew EpsteinScore: 5,424Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 23, 2026 15:005,39027,028,65216,239,0001,010,0002,113,536
2Aug 23, 2026 15:005,40627,065,36916,263,0001,037,0002,113,536
3Aug 23, 2026 15:005,41627,195,41516,259,0001,074,0002,113,536
4Aug 23, 2026 15:005,42327,094,69916,318,0001,036,0002,113,536
5Aug 23, 2026 15:005,42427,101,93716,310,0001,048,0002,113,536
6Aug 23, 2026 15:005,43327,195,18916,300,0001,088,0002,113,536
7Aug 23, 2026 15:005,44227,178,76716,377,0001,040,0002,113,536
8Aug 23, 2026 15:005,44527,227,97616,401,0001,023,0002,113,536
9Aug 23, 2026 15:005,44827,298,97116,369,0001,067,0002,113,536