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:52evgenikwtevgenikwtScore: 5,274Success
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:525,22743,029,68315,682,0001,045,0002,265,088
2Jun 5, 2021 04:525,23335,086,23015,698,0001,046,0002,265,088
3Jun 5, 2021 04:525,27237,151,16916,869,00002,387,968
4Jun 5, 2021 04:525,27345,722,70715,883,000992,0002,392,064
5Jun 5, 2021 04:525,27336,122,87415,883,000992,0002,265,088
6Jun 5, 2021 04:525,27342,809,67115,883,000992,0002,387,968
7Jun 5, 2021 04:525,27433,841,47515,885,000992,0002,392,064
8Jun 5, 2021 04:525,27532,949,67814,894,0001,985,0002,260,992
9Jun 5, 2021 04:525,28341,315,09214,917,0001,988,0002,265,088
10Jun 5, 2021 04:525,45792,313,21217,463,87302,289,664
11Jun 5, 2021 04:525,47377,278,00517,513,66902,281,472
12Jun 5, 2021 04:525,48484,875,74817,550,20802,285,568