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 04:44evgenikwtevgenikwtScore: 5,279Success
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 04:445,25442,606,61414,836,0001,978,0002,265,088
2Jun 5, 2021 04:445,27234,544,63615,878,000992,0002,387,968
3Jun 5, 2021 04:445,27542,494,24415,887,000992,0002,265,088
4Jun 5, 2021 04:445,27549,469,96714,895,0001,986,0002,265,088
5Jun 5, 2021 04:445,27634,987,01214,896,0001,986,0002,383,872
6Jun 5, 2021 04:445,27647,942,06914,896,0001,986,0002,392,064
7Jun 5, 2021 04:445,27945,192,03114,907,0001,987,0002,265,088
8Jun 5, 2021 04:445,27942,617,00714,907,0001,987,0002,387,968
9Jun 5, 2021 04:445,28241,373,98014,914,0001,988,0002,383,872
10Jun 5, 2021 04:445,48154,511,83417,539,45502,273,280
11Jun 5, 2021 04:445,49967,976,32717,595,22902,281,472
12Jun 5, 2021 04:445,50677,346,36917,619,38202,281,472