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 11, 2021 14:42Yuriy LyfenkoYuriy LyfenkoScore: 25,061Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 14:4225,043160,383,81780,137,29802,236,416
2May 11, 2021 14:4225,045158,273,78780,144,53502,224,128
3May 11, 2021 14:4225,049138,455,41880,155,28502,228,224
4May 11, 2021 14:4125,049153,154,91580,155,75202,224,128
5May 11, 2021 14:4225,054147,267,01780,173,23302,232,320
6May 11, 2021 14:4125,058144,612,14280,184,40202,236,416
7May 11, 2021 14:4225,061139,205,63880,195,09602,248,704
8May 11, 2021 14:4125,061144,055,37080,194,21802,240,512
9May 11, 2021 14:4125,063136,796,41980,200,39102,228,224
10May 11, 2021 14:4225,073135,669,07480,232,94602,228,224
11May 11, 2021 14:4225,080136,515,87280,256,73602,232,320
12May 11, 2021 14:4125,082139,662,62980,263,74302,224,128
13May 11, 2021 14:4225,085138,635,72880,271,68302,228,224
14May 11, 2021 14:4225,091142,884,48980,289,98502,236,416
15May 11, 2021 14:4125,091139,508,79680,291,75702,232,320