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:14Mark R BestMark R BestScore: 13,273Success
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:1413,16865,830,91616,052,00026,085,0002,314,240
2Dec 29, 2025 13:1413,19770,209,86716,087,00026,142,0002,289,664
3Dec 29, 2025 13:1413,19962,668,45617,096,00025,141,0002,289,664
4Dec 29, 2025 13:1413,22467,498,32218,136,00024,182,0002,310,144
5Dec 29, 2025 13:1413,27367,049,15216,181,00026,294,0002,289,664
6Dec 29, 2025 13:1413,29565,724,66314,181,00028,363,0002,289,664
7Dec 29, 2025 13:1413,33671,290,54914,225,00028,450,0002,289,664
8Dec 29, 2025 13:1413,40275,080,89018,949,00023,936,0002,314,240
9Dec 29, 2025 13:1413,44171,948,88314,004,00029,008,0002,297,856