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 13, 2024 13:00AndreyTSAndreyTSScore: 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
1Jun 13, 2024 13:005,44643,147,12916,402,0001,025,0002,392,064
2Jun 13, 2024 13:005,44842,871,19517,434,00002,289,664
3Jun 13, 2024 13:005,45947,878,94616,442,0001,027,0002,289,664
4Jun 13, 2024 13:005,46236,931,84416,450,0001,028,0002,289,664
5Jun 13, 2024 13:005,47840,177,08916,500,0001,031,0002,289,664
6Jun 13, 2024 13:005,48946,123,48716,533,0001,033,0002,289,664
7Jun 13, 2024 13:005,49043,631,08016,535,0001,033,0002,273,280
8Jun 13, 2024 13:005,49644,029,92516,553,0001,034,0002,289,664
9Jun 13, 2024 13:005,50646,787,13516,582,0001,036,0002,273,280
10Jun 13, 2024 13:005,70580,016,30818,256,05302,293,760
11Jun 13, 2024 13:005,72589,122,43318,318,73602,301,952
12Jun 13, 2024 13:005,72787,301,29618,326,78902,174,976