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:27Ulyanov AlekseyUlyanov AlekseyScore: 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 17, 2023 22:275,85345,364,70417,688,0001,040,0002,527,232
2Jun 17, 2023 22:275,89449,560,22916,877,0001,985,0002,277,376
3Jun 17, 2023 22:275,89844,365,68916,886,0001,986,0002,277,376
4Jun 17, 2023 22:275,89849,324,59217,881,000993,0002,277,376
5Jun 17, 2023 22:275,89844,538,79715,894,0002,980,0002,387,968
6Jun 17, 2023 22:275,90035,878,14716,892,0001,987,0002,277,376
7Jun 17, 2023 22:275,90545,282,37816,906,0001,989,0002,277,376
8Jun 17, 2023 22:275,91543,190,15216,936,0001,992,0002,277,376
9Jun 17, 2023 22:275,92550,262,56716,965,0001,995,0002,277,376
10Jun 17, 2023 22:276,09488,829,18819,500,78902,297,856
11Jun 17, 2023 22:276,117100,167,92419,575,49302,289,664
12Jun 17, 2023 22:276,17885,087,43219,771,03502,289,664