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 22:07evgenikwtevgenikwtScore: 5,300Success
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 22:075,27933,960,97215,901,000993,0002,527,232
2Jun 13, 2021 22:075,28038,804,09516,895,00002,265,088
3Jun 13, 2021 22:075,28048,902,95914,909,0001,987,0002,265,088
4Jun 13, 2021 22:075,29038,741,82015,932,000995,0002,387,968
5Jun 13, 2021 22:075,29033,930,96614,938,0001,991,0002,265,088
6Jun 13, 2021 22:075,29241,606,16914,943,0001,992,0002,265,088
7Jun 13, 2021 22:075,30042,256,90514,966,0001,995,0002,392,064
8Jun 13, 2021 22:075,30849,712,74115,987,000999,0002,265,088
9Jun 13, 2021 22:075,31045,360,63814,992,0001,999,0002,375,680
10Jun 13, 2021 22:075,50793,418,59617,621,66402,277,376
11Jun 13, 2021 22:075,51373,927,18317,642,48802,293,760
12Jun 13, 2021 22:075,52189,305,62517,665,82702,277,376