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 listDec 22, 2021 04:38Yuriy LyfenkoYuriy LyfenkoScore: 5,713Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:385,630547,140,97316,957,0001,059,0002,334,720
2Dec 22, 2021 04:385,658548,713,28515,975,0002,130,0002,334,720
3Dec 22, 2021 04:385,661546,800,54817,050,0001,065,0002,334,720
4Dec 22, 2021 04:385,692568,906,82518,213,30602,285,568
5Dec 22, 2021 04:385,696548,098,53815,350,0002,878,0002,334,720
6Dec 22, 2021 04:385,711544,419,73615,390,0002,885,0002,334,720
7Dec 22, 2021 04:385,713545,654,82615,394,0002,886,0002,334,720
8Dec 22, 2021 04:385,716578,942,89118,292,67902,256,896
9Dec 22, 2021 04:385,722549,873,07916,382,0001,927,0002,334,720
10Dec 22, 2021 04:385,726549,302,63015,269,0003,053,0002,326,528
11Dec 22, 2021 04:385,728544,442,06316,293,0002,036,0002,334,720
12Dec 22, 2021 04:385,744571,272,46418,381,33802,252,800