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 05:07evgenikwtevgenikwtScore: 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 05:075,23636,281,65315,707,0001,047,0002,256,896
2Jun 5, 2021 05:075,27030,301,32516,865,00002,265,088
3Jun 5, 2021 05:075,27137,577,83814,882,0001,984,0002,387,968
4Jun 5, 2021 05:075,27342,858,87215,882,000992,0002,265,088
5Jun 5, 2021 05:075,27641,729,13614,896,0001,986,0002,379,776
6Jun 5, 2021 05:075,27648,523,66115,890,000993,0002,387,968
7Jun 5, 2021 05:075,27637,837,44915,891,000993,0002,527,232
8Jun 5, 2021 05:075,27843,701,98214,902,0001,987,0002,265,088
9Jun 5, 2021 05:075,29234,860,81415,939,000996,0002,392,064
10Jun 5, 2021 05:075,48694,655,81217,556,21902,281,472
11Jun 5, 2021 05:075,49390,373,79717,577,14802,285,568
12Jun 5, 2021 05:075,51277,214,79417,638,98102,277,376