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 19, 2023 04:47Kenneth MaplesKenneth MaplesScore: 5,208Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2023 04:475,17032,062,59315,511,0001,034,0002,265,088
2Dec 19, 2023 04:475,17437,661,11915,524,0001,034,0002,383,872
3Dec 19, 2023 04:475,18432,625,19715,553,0001,036,0002,396,160
4Dec 19, 2023 04:475,18533,181,72315,556,0001,037,0002,469,888
5Dec 19, 2023 04:475,19649,249,93116,626,00002,265,088
6Dec 19, 2023 04:475,19635,718,36615,587,0001,039,0002,265,088
7Dec 19, 2023 04:475,20834,347,36016,665,00002,383,872
8Dec 19, 2023 04:475,20933,913,44615,628,0001,041,0002,527,232
9Dec 19, 2023 04:475,21346,898,24916,682,00002,396,160
10Dec 19, 2023 04:475,373102,512,54817,195,01802,240,512
11Dec 19, 2023 04:475,38877,037,14617,242,40402,273,280
12Dec 19, 2023 04:475,43557,166,44717,392,09602,269,184