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 20, 2025 19:48jhallgreenjhallgreenScore: 5,357Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 20, 2025 19:485,32841,497,51916,047,0001,002,0002,396,160
2Dec 20, 2025 19:485,33344,729,17714,055,0003,011,0002,392,064
3Dec 20, 2025 19:485,34044,664,91514,072,0003,015,0002,519,040
4Dec 20, 2025 19:485,35138,134,17114,101,0003,021,0002,519,040
5Dec 20, 2025 19:485,35743,936,42014,117,0003,025,0002,396,160
6Dec 20, 2025 19:485,36242,545,62916,148,0001,009,0002,510,848
7Dec 20, 2025 19:485,38038,550,85815,190,0002,025,0002,519,040
8Dec 20, 2025 19:485,38442,567,11015,202,0002,026,0002,519,040
9Dec 20, 2025 19:485,38444,323,07616,215,0001,013,0002,387,968