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 27, 2021 19:30Yuriy LyfenkoYuriy LyfenkoScore: 5,062Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:305,03244,679,01214,090,0002,012,0002,269,184
2May 27, 2021 19:305,03338,805,79114,092,0002,013,0002,392,064
3May 27, 2021 19:305,05336,264,61514,147,0002,021,0002,265,088
4May 27, 2021 19:305,05331,691,08714,149,0002,021,0002,265,088
5May 27, 2021 19:305,05444,440,74814,153,0002,021,0002,396,160
6May 27, 2021 19:305,05837,951,26015,173,0001,011,0002,396,160
7May 27, 2021 19:305,06247,112,51615,186,0001,012,0002,392,064
8May 27, 2021 19:305,10037,990,64616,321,00002,375,680
9May 27, 2021 19:305,10749,044,81415,322,0001,021,0002,392,064
10May 27, 2021 19:305,22155,997,00116,708,03402,273,280
11May 27, 2021 19:305,23671,127,55016,756,54902,281,472
12May 27, 2021 19:305,30655,796,02916,980,32602,408,448