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 9, 2024 18:17AndreyTSAndreyTSScore: 5,905Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 18:175,83740,267,15817,641,0001,037,0002,289,664
2Jun 9, 2024 18:175,84343,227,00117,661,0001,038,0002,289,664
3Jun 9, 2024 18:175,84446,052,15418,701,00002,269,184
4Jun 9, 2024 18:175,84748,884,48517,670,0001,039,0002,531,328
5Jun 9, 2024 18:175,89945,497,24217,884,000993,0002,273,280
6Jun 9, 2024 18:175,90334,254,91816,900,0001,988,0002,269,184
7Jun 9, 2024 18:175,90543,399,82316,908,0001,989,0002,289,664
8Jun 9, 2024 18:175,91245,909,24416,928,0001,991,0002,285,568
9Jun 9, 2024 18:175,91540,601,54816,935,0001,992,0002,273,280
10Jun 9, 2024 18:176,08999,212,30219,485,53102,179,072
11Jun 9, 2024 18:176,09294,185,00619,495,89902,297,856
12Jun 9, 2024 18:176,18498,505,83419,790,18702,170,880