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 29, 2025 13:46Mark R BestMark R BestScore: 11,061Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 13:4610,95465,501,1597,010,00028,043,0002,306,048
2Dec 29, 2025 13:4610,96959,599,6525,014,00030,088,0002,289,664
3Dec 29, 2025 13:4610,99056,944,29110,048,00025,120,0002,314,240
4Dec 29, 2025 13:4611,02561,231,6588,064,00027,217,0002,289,664
5Dec 29, 2025 13:4611,06156,717,4598,090,00027,304,0002,387,968
6Dec 29, 2025 13:4611,06659,094,33911,129,00024,282,0002,301,952
7Dec 29, 2025 13:4611,13263,509,4346,106,00029,517,0002,306,048
8Dec 29, 2025 13:4611,14061,833,4658,148,00027,500,0002,289,664
9Dec 29, 2025 13:4611,16064,974,7757,142,00028,571,0002,289,664