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 19, 2024 10:06Matt StuchlikMatt StuchlikScore: 5,502Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:065,44142,730,54116,388,0001,024,0002,289,664
2Jul 19, 2024 10:065,45034,655,87517,441,00002,265,088
3Jul 19, 2024 10:065,46240,899,41515,422,0002,056,0002,273,280
4Jul 19, 2024 10:065,46336,703,35716,454,0001,028,0002,273,280
5Jul 19, 2024 10:065,48637,719,54616,524,0001,032,0002,289,664
6Jul 19, 2024 10:065,49133,430,43317,572,00002,289,664
7Jul 19, 2024 10:065,50240,012,49317,605,00002,359,296
8Jul 19, 2024 10:065,50443,527,27916,578,0001,036,0002,273,280
9Jul 19, 2024 10:065,52046,689,23916,625,0001,039,0002,269,184
10Jul 19, 2024 10:065,73157,832,79818,338,80602,179,072
11Jul 19, 2024 10:065,73565,764,58318,351,85502,174,976
12Jul 19, 2024 10:065,75981,368,46518,429,78702,297,856