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 28, 2024 16:29Liam BuchananLiam BuchananScore: 5,328Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 16:295,30040,821,85415,963,000997,0002,535,424
2Jul 28, 2024 16:295,30138,840,63714,967,0001,995,0002,428,928
3Jul 28, 2024 16:295,30533,203,00814,980,0001,997,0002,535,424
4Jul 28, 2024 16:295,31739,789,53215,012,0002,001,0002,535,424
5Jul 28, 2024 16:295,32240,567,10315,028,0002,003,0002,428,928
6Jul 28, 2024 16:295,32339,169,91216,032,0001,002,0002,437,120
7Jul 28, 2024 16:295,32838,803,41216,047,0001,002,0002,424,832
8Jul 28, 2024 16:295,32844,036,66016,048,0001,003,0002,424,832
9Jul 28, 2024 16:295,33040,933,42915,051,0002,006,0002,428,928
10Jul 28, 2024 16:295,52187,034,86217,666,64802,183,168
11Jul 28, 2024 16:295,52787,641,96917,686,05102,174,976
12Jul 28, 2024 16:295,53664,444,26917,715,55202,314,240