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 listAug 22, 2022 16:38Eugene ZhydzetskiEugene ZhydzetskiScore: 5,818Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2022 16:385,77138,416,93017,442,0001,026,0002,334,720
2Aug 22, 2022 16:385,77840,052,83517,464,0001,027,0002,334,720
3Aug 22, 2022 16:385,78640,839,36917,486,0001,028,0002,289,664
4Aug 22, 2022 16:385,78944,520,37917,497,0001,029,0002,281,472
5Aug 22, 2022 16:385,79642,587,71618,547,00002,543,616
6Aug 22, 2022 16:385,81744,652,54918,614,00002,334,720
7Aug 22, 2022 16:385,81864,611,32118,616,16202,240,512
8Aug 22, 2022 16:385,81843,174,86817,585,0001,034,0002,342,912
9Aug 22, 2022 16:385,82047,933,50518,623,00002,334,720
10Aug 22, 2022 16:385,85046,137,89918,719,00002,334,720
11Aug 22, 2022 16:385,87490,126,69718,795,40302,244,608
12Aug 22, 2022 16:385,94388,760,39319,018,98402,240,512