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:03evgenikwtevgenikwtScore: 5,325Success
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:035,26742,666,01214,872,0001,982,0002,523,136
2Jun 13, 2021 22:035,27544,127,63715,887,000992,0002,392,064
3Jun 13, 2021 22:035,27745,321,68714,901,0001,986,0002,392,064
4Jun 13, 2021 22:035,28333,074,82614,918,0001,989,0002,392,064
5Jun 13, 2021 22:035,28845,380,77315,928,000995,0002,383,872
6Jun 13, 2021 22:035,29244,574,08515,939,000996,0002,506,752
7Jun 13, 2021 22:035,32545,885,71615,036,0002,004,0002,392,064
8Jun 13, 2021 22:035,32642,848,88615,038,0002,005,0002,265,088
9Jun 13, 2021 22:035,33449,106,35416,066,0001,004,0002,265,088
10Jun 13, 2021 22:035,51670,227,87917,650,14602,285,568
11Jun 13, 2021 22:035,55573,636,60317,775,78002,273,280
12Jun 13, 2021 22:035,562101,535,27817,799,87802,277,376