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 listJun 7, 2024 17:41matsuoka-601matsuoka-601Score: 4,771Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2024 17:414,74640,866,44913,163,0002,025,0002,408,448
2Jun 7, 2024 17:414,74936,562,10413,171,0002,026,0002,285,568
3Jun 7, 2024 17:414,74930,328,72213,172,0002,026,0002,408,448
4Jun 7, 2024 17:414,75328,688,20413,182,0002,028,0002,404,352
5Jun 7, 2024 17:414,76827,253,96014,240,0001,017,0002,285,568
6Jun 7, 2024 17:414,76840,940,38113,224,0002,034,0002,514,944
7Jun 7, 2024 17:414,77138,586,27114,251,0001,017,0002,285,568
8Jun 7, 2024 17:414,77236,572,64713,234,0002,036,0002,285,568
9Jun 7, 2024 17:414,78531,704,54714,291,0001,020,0002,285,568
10Jun 7, 2024 17:415,01682,559,38316,050,21302,293,760
11Jun 7, 2024 17:415,03885,329,48716,120,51802,289,664
12Jun 7, 2024 17:415,07388,015,67416,233,83602,293,760