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 8, 2024 18:20AndreyTSAndreyTSScore: 5,627Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:205,58945,495,00715,898,0001,987,0002,289,664
2Jun 8, 2024 18:205,59142,072,90616,898,000994,0002,277,376
3Jun 8, 2024 18:205,59345,442,61415,909,0001,988,0002,273,280
4Jun 8, 2024 18:205,60940,258,50215,954,0001,994,0002,289,664
5Jun 8, 2024 18:205,61841,633,82515,980,0001,997,0002,371,584
6Jun 8, 2024 18:205,62742,809,75416,005,0002,000,0002,273,280
7Jun 8, 2024 18:205,62746,334,76516,007,0002,000,0002,273,280
8Jun 8, 2024 18:205,62745,386,78316,007,0002,000,0002,269,184
9Jun 8, 2024 18:205,64139,705,41016,045,0002,005,0002,273,280
10Jun 8, 2024 18:206,00399,427,84919,210,73002,306,048
11Jun 8, 2024 18:206,00889,902,55719,226,32202,174,976
12Jun 8, 2024 18:206,05497,530,76419,371,72102,293,760