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 5, 2021 03:20evgenikwtevgenikwtScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 03:205,25834,102,70814,848,0001,979,0002,383,872
2Jun 5, 2021 03:205,27041,974,63815,872,000992,0002,502,656
3Jun 5, 2021 03:205,27347,669,31615,882,000992,0002,387,968
4Jun 5, 2021 03:205,27344,977,60414,890,0001,985,0002,265,088
5Jun 5, 2021 03:205,27440,631,48615,885,000992,0002,392,064
6Jun 5, 2021 03:205,27432,949,94115,886,000992,0002,265,088
7Jun 5, 2021 03:205,27633,338,12015,889,000993,0002,387,968
8Jun 5, 2021 03:205,27832,369,88615,896,000993,0002,392,064
9Jun 5, 2021 03:205,27833,807,64314,903,0001,987,0002,375,680
10Jun 5, 2021 03:205,46088,984,84117,472,83902,281,472
11Jun 5, 2021 03:205,47384,795,86817,514,90202,273,280
12Jun 5, 2021 03:205,49972,622,37017,596,78302,289,664