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, 2021 08:18alex3dalex3dScore: 5,357Success
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, 2021 08:185,3277,807,623,15716,044,0001,002,0002,523,136
2May 15, 2021 08:185,331235,715,79917,058,00002,523,136
3May 15, 2021 08:185,3367,457,813,57416,071,0001,004,0002,523,136
4May 15, 2021 08:185,3399,412,715,26317,085,00002,523,136
5May 15, 2021 08:185,3518,597,418,66215,110,0002,014,0002,523,136
6May 15, 2021 08:185,3552,583,682,77916,129,0001,008,0002,523,136
7May 15, 2021 08:185,3574,479,134,85116,135,0001,008,0002,514,944
8May 15, 2021 08:185,3592,103,329,22016,142,0001,008,0002,523,136
9May 15, 2021 08:185,3668,331,452,58215,150,0002,020,0002,523,136
10May 15, 2021 08:185,5058,667,754,71617,616,70702,277,376
11May 15, 2021 08:185,5225,768,734,29817,670,02102,285,568
12May 15, 2021 08:185,6003,883,537,34417,918,67202,281,472