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 8, 2021 18:33evgenikwtevgenikwtScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 18:335,27133,990,28915,876,000992,0002,396,160
2Jun 8, 2021 18:335,27148,278,35616,868,00002,265,088
3Jun 8, 2021 18:335,27643,035,86616,884,00002,387,968
4Jun 8, 2021 18:335,27643,414,43814,898,0001,986,0002,265,088
5Jun 8, 2021 18:335,27733,916,86016,885,00002,265,088
6Jun 8, 2021 18:335,27745,730,83514,900,0001,986,0002,527,232
7Jun 8, 2021 18:335,27742,757,65115,893,000993,0002,265,088
8Jun 8, 2021 18:335,28636,586,26915,858,0001,057,0002,392,064
9Jun 8, 2021 18:335,29244,456,51314,942,0001,992,0002,265,088
10Jun 8, 2021 18:335,46379,269,17017,481,32502,289,664
11Jun 8, 2021 18:335,47184,593,84517,507,36302,277,376
12Jun 8, 2021 18:335,50285,219,00517,604,89602,281,472