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 17, 2023 22:17Ulyanov AlekseyUlyanov AlekseyScore: 5,900Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:175,82844,767,45216,579,0002,072,0002,277,376
2Jun 17, 2023 22:175,83245,795,73118,662,00002,277,376
3Jun 17, 2023 22:175,84138,335,22917,653,0001,038,0002,273,280
4Jun 17, 2023 22:175,84945,144,39617,678,0001,039,0002,277,376
5Jun 17, 2023 22:175,89543,640,49217,871,000992,0002,277,376
6Jun 17, 2023 22:175,89744,660,44616,885,0001,986,0002,269,184
7Jun 17, 2023 22:175,90044,348,28015,899,0002,981,0002,273,280
8Jun 17, 2023 22:175,90142,036,25917,833,0001,049,0002,277,376
9Jun 17, 2023 22:175,90349,906,84116,903,0001,988,0002,277,376
10Jun 17, 2023 22:176,05582,419,73819,376,00602,179,072
11Jun 17, 2023 22:176,07792,891,64719,447,93402,297,856
12Jun 17, 2023 22:176,095106,332,28419,504,03102,293,760