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 8, 2023 10:25Andrew MoonAndrew MoonScore: 5,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 10:255,41943,750,17616,322,0001,020,0002,527,232
2Jul 8, 2023 10:255,43033,922,04716,355,0001,022,0002,269,184
3Jul 8, 2023 10:255,44539,284,70716,399,0001,024,0002,387,968
4Jul 8, 2023 10:255,44533,458,62617,424,00002,396,160
5Jul 8, 2023 10:255,44647,772,10216,403,0001,025,0002,383,872
6Jul 8, 2023 10:255,45341,484,94116,422,0001,026,0002,265,088
7Jul 8, 2023 10:255,45345,446,89516,425,0001,026,0002,392,064
8Jul 8, 2023 10:255,46733,137,56517,494,00002,396,160
9Jul 8, 2023 10:255,48043,485,19817,536,00002,265,088
10Jul 8, 2023 10:255,76976,189,59718,462,32602,285,568
11Jul 8, 2023 10:255,79485,347,28318,540,30502,285,568
12Jul 8, 2023 10:255,82281,012,80618,631,00602,273,280