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 09:59Ilya AniskovetsIlya AniskovetsScore: 5,393Success
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 09:595,34346,954,47615,086,0002,011,0002,265,088
2Oct 27, 2021 09:595,36045,524,89315,134,0002,017,0002,265,088
3Oct 27, 2021 09:595,36037,641,11116,144,0001,009,0002,392,064
4Oct 27, 2021 09:595,36749,985,86016,163,0001,010,0002,392,064
5Oct 27, 2021 09:595,39043,383,23115,219,0002,029,0002,265,088
6Oct 27, 2021 09:595,39039,960,37515,220,0002,029,0002,527,232
7Oct 27, 2021 09:595,39338,558,40815,227,0002,030,0002,387,968
8Oct 27, 2021 09:595,39333,123,78015,227,0002,030,0002,265,088
9Oct 27, 2021 09:595,39645,548,16416,251,0001,015,0002,506,752
10Oct 27, 2021 09:595,582100,231,54017,861,51502,277,376
11Oct 27, 2021 09:595,582132,711,36617,862,68102,285,568
12Oct 27, 2021 09:595,61478,260,29717,964,67902,277,376