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 25, 2021 05:04Yuriy LyfenkoYuriy LyfenkoScore: 5,114Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 05:045,08441,730,02316,270,00002,510,848
2May 25, 2021 05:045,08936,461,43614,249,0002,035,0002,392,064
3May 25, 2021 05:045,09237,780,60815,275,0001,018,0002,387,968
4May 25, 2021 05:045,10135,013,89016,323,00002,265,088
5May 25, 2021 05:045,10934,798,20516,350,00002,396,160
6May 25, 2021 05:045,11234,318,04916,357,00002,383,872
7May 25, 2021 05:045,11437,657,69614,319,0002,045,0002,392,064
8May 25, 2021 05:045,13243,128,08216,422,00002,506,752
9May 25, 2021 05:045,14837,838,66216,474,00002,527,232
10May 25, 2021 05:045,27279,170,57916,871,05302,277,376
11May 25, 2021 05:045,28648,123,99516,916,27702,269,184
12May 25, 2021 05:045,38871,426,23517,241,54702,281,472