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 12, 2024 19:33AndreyTSAndreyTSScore: 5,519Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 19:335,46633,578,25716,463,0001,028,0002,281,472
2Jun 12, 2024 19:335,47743,687,83616,496,0001,031,0002,273,280
3Jun 12, 2024 19:335,48843,753,66016,528,0001,033,0002,289,664
4Jun 12, 2024 19:335,49138,928,96916,537,0001,033,0002,289,664
5Jun 12, 2024 19:335,50543,190,30616,581,0001,036,0002,289,664
6Jun 12, 2024 19:335,50747,742,06116,585,0001,036,0002,289,664
7Jun 12, 2024 19:335,51943,485,79516,622,0001,038,0002,269,184
8Jun 12, 2024 19:335,52645,606,13916,643,0001,040,0002,289,664
9Jun 12, 2024 19:335,52732,534,68216,645,0001,040,0002,289,664
10Jun 12, 2024 19:335,70168,534,93318,241,62902,301,952
11Jun 12, 2024 19:335,72481,827,93418,315,82702,297,856
12Jun 12, 2024 19:335,75885,709,90618,426,56002,174,976