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 19, 2023 21:39Ulyanov AlekseyUlyanov AlekseyScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:395,53352,486,81616,664,0001,041,0002,289,664
2Jun 19, 2023 21:395,53643,671,55116,674,0001,042,0002,277,376
3Jun 19, 2023 21:395,57844,918,28816,860,000991,0002,289,664
4Jun 19, 2023 21:395,58144,157,39015,874,0001,984,0002,289,664
5Jun 19, 2023 21:395,58252,589,37815,878,0001,984,0002,273,280
6Jun 19, 2023 21:395,58244,380,49417,863,00002,289,664
7Jun 19, 2023 21:395,58642,859,94815,888,0001,986,0002,289,664
8Jun 19, 2023 21:395,58847,128,21317,882,00002,281,472
9Jun 19, 2023 21:395,62447,747,17315,997,0001,999,0002,273,280
10Jun 19, 2023 21:395,67396,094,51318,155,07002,297,856
11Jun 19, 2023 21:395,71381,916,49018,281,32202,293,760
12Jun 19, 2023 21:395,76459,854,07618,446,39002,183,168