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 23, 2021 14:57Yuriy LyfenkoYuriy LyfenkoScore: 5,124Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 14:575,06336,225,66715,190,0001,012,0002,265,088
2May 23, 2021 14:575,06841,283,06415,205,0001,013,0002,265,088
3May 23, 2021 14:575,08335,322,69814,234,0002,033,0002,396,160
4May 23, 2021 14:575,09234,378,68015,276,0001,018,0002,392,064
5May 23, 2021 14:575,09434,073,49914,264,0002,037,0002,527,232
6May 23, 2021 14:575,09635,236,68315,287,0001,019,0002,265,088
7May 23, 2021 14:575,12444,142,57114,348,0002,049,0002,269,184
8May 23, 2021 14:575,12436,846,57015,374,0001,024,0002,265,088
9May 23, 2021 14:575,12938,008,75916,413,00002,379,776
10May 23, 2021 14:575,33182,316,90517,059,48902,277,376
11May 23, 2021 14:575,35086,656,56917,120,35202,269,184
12May 23, 2021 14:575,35583,755,48517,135,43502,285,568