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 listMay 5, 2025 09:33parsersmailparsersmailScore: 5,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 5, 2025 09:335,67834,507,56416,152,0002,019,0002,494,464
2May 5, 2025 09:335,68138,414,88016,159,0002,019,0002,306,048
3May 5, 2025 09:335,68148,270,57717,170,0001,010,0002,306,048
4May 5, 2025 09:335,68246,663,97617,173,0001,010,0002,306,048
5May 5, 2025 09:335,69441,916,78917,209,0001,012,0002,306,048
6May 5, 2025 09:335,70038,358,41217,228,0001,013,0002,494,464
7May 5, 2025 09:335,71444,833,83817,269,0001,015,0002,306,048
8May 5, 2025 09:335,72137,417,34817,291,0001,017,0002,498,560
9May 5, 2025 09:335,73539,363,26916,312,0002,039,0002,490,368