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 listSep 4, 2021 21:59Andrey TsvetkovAndrey TsvetkovScore: 5,888Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 21:595,83745,508,34217,642,0001,037,0002,342,912
2Sep 4, 2021 21:595,83746,433,42617,642,0001,037,0002,433,024
3Sep 4, 2021 21:595,84371,472,96118,697,96602,281,472
4Sep 4, 2021 21:595,84450,198,48018,700,00002,342,912
5Sep 4, 2021 21:595,84742,996,28317,670,0001,039,0002,437,120
6Sep 4, 2021 21:595,86798,525,88818,774,94102,269,184
7Sep 4, 2021 21:595,88833,308,35717,851,000991,0002,342,912
8Sep 4, 2021 21:595,89395,493,52918,859,19502,281,472
9Sep 4, 2021 21:595,89947,586,36917,883,000993,0002,342,912
10Sep 4, 2021 21:595,90042,018,22916,893,0001,987,0002,342,912
11Sep 4, 2021 21:595,90244,334,68216,898,0001,988,0002,437,120
12Sep 4, 2021 21:595,91145,960,70117,920,000995,0002,433,024