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 listJun 13, 2021 11:34Dmitry DolgopolovDmitry DolgopolovScore: 4,972Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 11:344,96243,603,02514,885,000992,0002,445,312
2Jun 13, 2021 11:344,96243,412,13113,893,0001,984,0002,445,312
3Jun 13, 2021 11:344,96234,179,89313,894,0001,984,0002,449,408
4Jun 13, 2021 11:344,96336,898,12713,895,0001,985,0002,531,328
5Jun 13, 2021 11:344,96327,372,49513,897,0001,985,0002,457,600
6Jun 13, 2021 11:344,96838,780,13213,912,0001,987,0002,531,328
7Jun 13, 2021 11:344,97238,399,24513,922,0001,988,0002,449,408
8Jun 13, 2021 11:344,98039,452,42113,944,0001,992,0002,449,408
9Jun 13, 2021 11:344,98237,525,67013,950,0001,992,0002,449,408
10Jun 13, 2021 11:345,16680,051,03916,530,30402,199,552
11Jun 13, 2021 11:345,19281,905,91216,615,31402,203,648
12Jun 13, 2021 11:345,23584,346,10116,751,13202,203,648