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 listApr 4, 2024 01:31Christopher TarryChristopher TarryScore: 5,840Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 01:315,79643,084,94618,547,00002,383,872
2Apr 4, 2024 01:315,81140,350,77217,563,0001,033,0002,289,664
3Apr 4, 2024 01:315,81239,224,26817,565,0001,033,0002,273,280
4Apr 4, 2024 01:315,82245,031,12517,596,0001,035,0002,289,664
5Apr 4, 2024 01:315,83243,785,44517,626,0001,036,0002,273,280
6Apr 4, 2024 01:315,83350,938,72917,630,0001,037,0002,289,664
7Apr 4, 2024 01:315,84049,508,39717,651,0001,038,0002,277,376
8Apr 4, 2024 01:315,88746,123,39916,855,0001,982,0002,269,184
9Apr 4, 2024 01:315,89854,694,08417,879,000993,0002,289,664
10Apr 4, 2024 01:316,06875,913,21519,418,08902,301,952
11Apr 4, 2024 01:316,08891,016,44219,480,31102,301,952
12Apr 4, 2024 01:316,11284,538,20519,558,45202,297,856