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 6, 2023 06:46Pavel ZagrebinPavel ZagrebinScore: 5,333Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 6, 2023 06:465,30533,635,32314,979,0001,997,0002,383,872
2Oct 6, 2023 06:465,31338,275,64015,002,0002,000,0002,383,872
3Oct 6, 2023 06:465,31542,396,09116,007,0001,000,0002,265,088
4Oct 6, 2023 06:465,31733,548,23116,015,0001,000,0002,392,064
5Oct 6, 2023 06:465,32236,720,76815,027,0002,003,0002,387,968
6Oct 6, 2023 06:465,33243,676,40216,060,0001,003,0002,392,064
7Oct 6, 2023 06:465,33345,915,12316,063,0001,003,0002,265,088
8Oct 6, 2023 06:465,34244,173,93215,082,0002,011,0002,265,088
9Oct 6, 2023 06:465,34644,170,15816,102,0001,006,0002,265,088
10Oct 6, 2023 06:465,54384,619,99317,736,64402,277,376
11Oct 6, 2023 06:465,55488,419,62617,771,91702,285,568
12Oct 6, 2023 06:465,57966,336,89817,852,26002,281,472