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 listAug 10, 2023 09:28parsersmailparsersmailScore: 5,808Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 09:285,78236,776,78518,503,00002,347,008
2Aug 10, 2023 09:285,78841,877,17417,492,0001,028,0002,326,528
3Aug 10, 2023 09:285,79238,978,79217,504,0001,029,0002,334,720
4Aug 10, 2023 09:285,79685,284,69918,547,88702,174,976
5Aug 10, 2023 09:285,80144,292,93018,564,00002,347,008
6Aug 10, 2023 09:285,80546,601,16117,545,0001,032,0002,322,432
7Aug 10, 2023 09:285,80840,108,69817,554,0001,032,0002,330,624
8Aug 10, 2023 09:285,83436,422,86817,632,0001,037,0002,347,008
9Aug 10, 2023 09:285,85348,169,05416,758,0001,971,0002,347,008
10Aug 10, 2023 09:285,85488,382,82218,733,71102,285,568
11Aug 10, 2023 09:285,85944,450,06517,707,0001,041,0002,330,624
12Aug 10, 2023 09:285,92283,742,28118,949,33102,293,760