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 listOct 27, 2021 10:03Ilya AniskovetsIlya AniskovetsScore: 5,372Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 10:035,33145,084,59115,053,0002,007,0002,387,968
2Oct 27, 2021 10:035,33545,944,52616,068,0001,004,0002,379,776
3Oct 27, 2021 10:035,35235,339,68516,120,0001,007,0002,392,064
4Oct 27, 2021 10:035,36334,073,00115,144,0002,019,0002,265,088
5Oct 27, 2021 10:035,36642,044,52016,162,0001,010,0002,265,088
6Oct 27, 2021 10:035,36841,297,99015,158,0002,021,0002,265,088
7Oct 27, 2021 10:035,37240,501,50215,169,0002,022,0002,510,848
8Oct 27, 2021 10:035,38833,893,48915,213,0002,028,0002,383,872
9Oct 27, 2021 10:035,40636,116,27115,264,0002,035,0002,387,968
10Oct 27, 2021 10:035,53973,761,79917,724,88602,240,512
11Oct 27, 2021 10:035,59680,842,35217,907,56802,289,664
12Oct 27, 2021 10:035,59783,405,96017,908,83602,273,280