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 15, 2024 18:33ii14ii14Score: 5,829Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 18:335,79846,096,05118,553,00002,519,040
2Jun 15, 2024 18:335,81448,751,10418,606,00002,519,040
3Jun 15, 2024 18:335,82143,462,92417,593,0001,034,0002,519,040
4Jun 15, 2024 18:335,82638,647,06416,572,0002,071,0002,396,160
5Jun 15, 2024 18:335,82845,999,32418,648,00002,519,040
6Jun 15, 2024 18:335,82843,258,97817,614,0001,036,0002,387,968
7Jun 15, 2024 18:335,82950,033,60818,652,00002,519,040
8Jun 15, 2024 18:335,83444,854,21917,632,0001,037,0002,383,872
9Jun 15, 2024 18:335,83643,996,19118,676,00002,260,992
10Jun 15, 2024 18:336,10990,735,59219,549,07902,285,568
11Jun 15, 2024 18:336,13179,703,80719,620,08602,289,664
12Jun 15, 2024 18:336,13396,276,79219,626,73302,289,664