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 listSep 29, 2021 21:27Andrey TsvetkovAndrey TsvetkovScore: 5,612Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 21:275,58533,897,86217,873,00002,338,816
2Sep 29, 2021 21:285,58637,851,72515,888,0001,986,0002,498,560
3Sep 29, 2021 21:285,58646,947,33616,882,000993,0002,502,656
4Sep 29, 2021 21:285,58744,866,72717,879,00002,498,560
5Sep 29, 2021 21:275,58849,474,58616,887,000993,0002,342,912
6Sep 29, 2021 21:285,58837,730,59816,888,000993,0002,498,560
7Sep 29, 2021 21:285,59244,229,74415,905,0001,988,0002,498,560
8Sep 29, 2021 21:285,59337,129,48416,905,000994,0002,342,912
9Sep 29, 2021 21:285,59643,606,41216,912,000994,0002,490,368
10Sep 29, 2021 21:275,59936,108,97916,923,000995,0002,502,656
11Sep 29, 2021 21:275,60339,651,91616,935,000996,0002,502,656
12Sep 29, 2021 21:275,61146,226,16516,958,000997,0002,342,912
13Sep 29, 2021 21:285,61250,039,54816,962,000997,0002,342,912
14Sep 29, 2021 21:285,622104,768,79517,990,91702,195,456
15Sep 29, 2021 21:285,63842,360,30716,039,0002,004,0002,498,560
16Sep 29, 2021 21:285,64181,257,45818,051,52202,195,456
17Sep 29, 2021 21:285,65486,896,83618,092,37502,195,456
18Sep 29, 2021 21:275,67361,821,72418,154,86002,195,456
19Sep 29, 2021 21:275,68178,516,80518,179,78802,203,648
20Sep 29, 2021 21:275,76443,445,79415,372,0003,074,0002,482,176
21Sep 29, 2021 21:275,79138,336,17115,442,0003,088,0002,482,176
22Sep 29, 2021 21:275,80690,414,08618,580,65102,334,720
23Sep 29, 2021 21:275,89949,062,33417,885,000993,0002,342,912
24Sep 29, 2021 21:275,91044,890,23317,918,000995,0002,334,720