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 listJul 20, 2024 11:30Matt StuchlikMatt StuchlikScore: 4,765Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 11:304,73137,449,37214,130,0001,009,0002,514,944
2Jul 20, 2024 11:304,73138,240,16614,130,0001,009,0002,289,664
3Jul 20, 2024 11:304,73446,268,93313,130,0002,020,0002,289,664
4Jul 20, 2024 11:304,73532,940,90714,141,0001,010,0002,265,088
5Jul 20, 2024 11:304,74342,054,90713,153,0002,023,0002,289,664
6Jul 20, 2024 11:304,74738,942,05413,166,0002,025,0002,289,664
7Jul 20, 2024 11:304,76546,033,01514,232,0001,016,0002,289,664
8Jul 20, 2024 11:304,76836,861,73413,222,0002,034,0002,273,280
9Jul 20, 2024 11:304,78238,581,71813,261,0002,040,0002,273,280
10Jul 20, 2024 11:305,03392,115,02316,107,14402,285,568
11Jul 20, 2024 11:305,03660,342,83716,115,52102,293,760
12Jul 20, 2024 11:305,05673,951,45216,178,59102,297,856