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,490Success
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,45439,614,08915,400,0002,053,0002,265,088
2Jul 19, 2024 10:065,45438,726,66817,454,00002,273,280
3Jul 19, 2024 10:065,45741,519,66416,435,0001,027,0002,289,664
4Jul 19, 2024 10:065,45947,790,97516,443,0001,027,0002,289,664
5Jul 19, 2024 10:065,47041,056,09616,475,0001,029,0002,273,280
6Jul 19, 2024 10:065,47138,180,33816,478,0001,029,0002,289,664
7Jul 19, 2024 10:065,49040,739,29616,534,0001,033,0002,527,232
8Jul 19, 2024 10:065,50747,112,63516,587,0001,036,0002,289,664
9Jul 19, 2024 10:065,50850,209,49817,626,00002,289,664
10Jul 19, 2024 10:065,70372,638,93118,248,65802,301,952
11Jul 19, 2024 10:065,71659,631,39518,290,56302,306,048
12Jul 19, 2024 10:065,72875,370,02318,331,14302,306,048