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 listMay 15, 2023 06:48AmirAmirScore: 5,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 06:485,89139,041,66117,858,000992,0002,281,472
2May 15, 2023 06:485,89240,397,15917,861,000992,0002,277,376
3May 15, 2023 06:485,89346,455,96916,874,0001,985,0002,289,664
4May 15, 2023 06:485,89743,526,09216,883,0001,986,0002,531,328
5May 15, 2023 06:485,89746,604,02216,884,0001,986,0002,289,664
6May 15, 2023 06:485,89849,352,85116,886,0001,986,0002,289,664
7May 15, 2023 06:485,89849,550,67417,880,000993,0002,289,664
8May 15, 2023 06:485,89844,936,21117,881,000993,0002,277,376
9May 15, 2023 06:485,90045,364,41816,892,0001,987,0002,289,664
10May 15, 2023 06:486,04294,250,19019,335,46002,256,896
11May 15, 2023 06:486,04987,576,04719,355,71802,293,760
12May 15, 2023 06:486,06497,819,69719,404,62602,297,856