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 listMay 22, 2021 23:22Vladimir KuryakovVladimir KuryakovScore: 5,732Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 23:225,67634,391,25617,153,0001,009,0002,383,872
2May 22, 2021 23:225,68439,526,21816,168,0002,021,0002,519,040
3May 22, 2021 23:225,68846,475,82216,178,0002,022,0002,260,992
4May 22, 2021 23:225,68945,421,43815,172,0003,034,0002,519,040
5May 22, 2021 23:225,69347,302,67316,195,0002,024,0002,387,968
6May 22, 2021 23:225,70741,727,02618,261,00002,383,872
7May 22, 2021 23:225,72846,951,82018,331,00002,260,992
8May 22, 2021 23:225,73240,310,24917,324,0001,019,0002,519,040
9May 22, 2021 23:225,73639,538,94317,336,0001,019,0002,502,656
10May 22, 2021 23:225,79174,868,94518,531,96802,281,472
11May 22, 2021 23:225,80283,767,16418,565,19102,285,568
12May 22, 2021 23:225,81991,257,45018,620,85902,277,376
13May 22, 2021 23:225,82277,465,82718,631,73702,285,568
14May 22, 2021 23:225,83482,913,83218,668,75202,281,472
15May 22, 2021 23:225,86979,304,56618,781,51202,281,472