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 listMay 25, 2021 15:45Yuriy LyfenkoYuriy LyfenkoScore: 5,143Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:455,12235,409,12316,389,00002,396,160
2May 25, 2021 15:455,12342,619,13416,392,00002,265,088
3May 25, 2021 15:455,13038,730,63416,416,00002,265,088
4May 25, 2021 15:455,13837,082,88915,415,0001,027,0002,260,992
5May 25, 2021 15:455,13836,105,84816,443,00002,392,064
6May 25, 2021 15:455,13939,047,38916,445,00002,265,088
7May 25, 2021 15:455,14337,188,51415,430,0001,028,0002,527,232
8May 25, 2021 15:455,16051,345,89015,481,0001,032,0002,396,160
9May 25, 2021 15:455,17835,863,07115,535,0001,035,0002,392,064
10May 25, 2021 15:455,31491,650,33417,006,33502,281,472
11May 25, 2021 15:455,33656,277,36017,073,82702,277,376
12May 25, 2021 15:455,34597,212,28017,104,37602,277,376