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 17, 2021 23:15Yuriy LyfenkoYuriy LyfenkoScore: 5,284Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:155,2242,159,530,83914,752,0001,966,0002,523,136
2May 17, 2021 23:155,2302,677,512,81016,736,00002,260,992
3May 17, 2021 23:155,236490,092,83312,813,0003,942,0002,265,088
4May 17, 2021 23:155,253843,254,32415,820,000988,0002,523,136
5May 17, 2021 23:155,2652,599,458,27514,867,0001,982,0002,527,232
6May 17, 2021 23:155,2712,438,967,53614,882,0001,984,0002,519,040
7May 17, 2021 23:155,2841,451,579,38515,915,000994,0002,383,872
8May 17, 2021 23:155,2941,369,923,96413,952,0002,989,0002,523,136
9May 17, 2021 23:155,2962,099,630,86616,947,00002,519,040
10May 17, 2021 23:155,4412,109,222,82017,412,74202,281,472
11May 17, 2021 23:155,4432,882,915,18217,418,68502,281,472
12May 17, 2021 23:155,4651,378,839,68117,489,33702,281,472